Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 110.5 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 197.2 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2149, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01046/0.2254, allocations: 10.2 MB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.23, allocations: 3.217 MB / 414.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.2306, allocations: 55.75 kB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.232, allocations: 0.7298 MB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.2337, allocations: 0.8699 MB / 416.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007359/0.2344, allocations: 419.3 kB / 416.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.2371, allocations: 2.968 MB / 419.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.2396, allocations: 2.469 MB / 422.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.241, allocations: 1.367 MB / 423.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.2429, allocations: 1.689 MB / 425.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004504/0.2434, allocations: 352 kB / 425.7 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.2441, allocations: 459.8 kB / 426.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009421/0.2451, allocations: 1.017 MB / 427.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.2465, allocations: 1.614 MB / 428.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.2503, allocations: 4.666 MB / 433.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2503, allocations: 0 / 433.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2503, allocations: 0 / 433.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.299e-05/0.2503, allocations: 0 / 433.5 MB, free: 8.633 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006053/0.2564, allocations: 3.264 MB / 436.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2565, allocations: 11.97 kB / 436.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.2573, allocations: 329.2 kB / 437.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.2603, allocations: 1.752 MB / 438.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2604, allocations: 180.8 kB / 439 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.2608, allocations: 231.9 kB / 439.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004936/0.2657, allocations: 3.145 MB / 442.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.2658, allocations: 3.906 kB / 442.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.266, allocations: 96 kB / 442.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-05/0.2661, allocations: 104.6 kB / 442.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/0.2704, allocations: 2.696 MB / 445.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.2839, allocations: 9.626 MB / 454.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.2865, allocations: 2.178 MB / 457.1 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.2884, allocations: 1.108 MB / 458.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.2887, allocations: 211.1 kB / 458.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.2887, allocations: 43.56 kB / 458.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.886e-06/0.2888, allocations: 0 / 458.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01339/0.3022, allocations: 6.835 MB / 465.3 MB, free: 7.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3022, allocations: 64.72 kB / 465.3 MB, free: 7.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.3044, allocations: 1.743 MB / 467.1 MB, free: 6.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.3045, allocations: 45.7 kB / 467.1 MB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/0.3053, allocations: 1.155 MB / 468.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.3056, allocations: 461.3 kB / 468.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.3061, allocations: 287.4 kB / 469 MB, free: 4.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.3062, allocations: 305.1 kB / 469.3 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3074, allocations: 0.7925 MB / 470.1 MB, free: 3.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.309, allocations: 1.205 MB / 471.3 MB, free: 1.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.3118, allocations: 2.094 MB / 473.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3118, allocations: 4 kB / 473.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004176/0.316, allocations: 2.678 MB / 476.1 MB, free: 12.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3161, allocations: 12 kB / 476.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3161, allocations: 12 kB / 476.1 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009457/0.317, allocations: 411.4 kB / 476.5 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.3184, allocations: 371.4 kB / 476.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006794/0.3252, allocations: 7.076 MB / 483.9 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3263, allocations: 107.8 kB / 484.1 MB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.3264, allocations: 60 kB / 484.1 MB, free: 4.234 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001145/0.3276, allocations: 0.7994 MB / 484.9 MB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3279, allocations: 181.8 kB / 485.1 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.3318, allocations: 2.383 MB / 487.5 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3318, allocations: 7.922 kB / 487.5 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3318, allocations: 0 / 487.5 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007815/0.3326, allocations: 434.7 kB / 487.9 MB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.3329, allocations: 24 kB / 487.9 MB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008991/0.3338, allocations: 95.88 kB / 488 MB, free: 256 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.3341, allocations: 121.1 kB / 488.1 MB, free: 136 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004721/0.3388, allocations: 2.365 MB / 490.5 MB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004245/0.343, allocations: 3.03 MB / 493.5 MB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001209/0.3443, allocations: 0.8495 MB / 494.4 MB, free: 9.844 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.3459, allocations: 1.194 MB / 495.6 MB, free: 8.656 MB / 414.1 MB Notification: Performance of Backend: time 2.1e-07/0.3459, allocations: 0 / 495.6 MB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00352/0.3494, allocations: 1.915 MB / 497.5 MB, free: 6.676 MB / 414.1 MB Notification: Performance of SimCode: time 0.007228/0.3566, allocations: 5.229 MB / 0.4909 GB, free: 1.375 MB / 414.1 MB Notification: Performance of Templates: time 0.04516/0.4018, allocations: 30.13 MB / 0.5204 GB, free: 3.508 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches