Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.5 kB / 20.43 MB, free: 1.473 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 188.4 kB / 23.72 MB, free: 4.711 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1889/0.1889, allocations: 38.54 MB / 346.3 MB, free: 2.238 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo)
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(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed")
translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 75.81 kB / 484.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 61.29 MB / 0.533 GB, free: 5.586 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008186/0.3612, allocations: 6.521 MB / 0.5394 GB, free: 0.8164 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004946/0.3662, allocations: 2.684 MB / 0.542 GB, free: 14.67 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006116/0.3668, allocations: 38.19 kB / 0.5421 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001351/0.3681, allocations: 353.7 kB / 0.5424 GB, free: 14.38 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3696, allocations: 0.6074 MB / 0.543 GB, free: 13.91 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007111/0.3703, allocations: 279.8 kB / 0.5433 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001763/0.3721, allocations: 1.211 MB / 0.5444 GB, free: 12.98 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.3732, allocations: 0.7069 MB / 0.5451 GB, free: 12.49 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/0.3739, allocations: 0.4933 MB / 0.5456 GB, free: 12.2 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.3748, allocations: 0.5665 MB / 0.5462 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.3749, allocations: 86.22 kB / 0.5463 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.3756, allocations: 372.7 kB / 0.5466 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.3761, allocations: 341.8 kB / 0.5469 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000533/0.3766, allocations: 458.4 kB / 0.5474 GB, free: 11.15 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001687/0.3783, allocations: 1.372 MB / 0.5487 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3783, allocations: 4 kB / 0.5487 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3783, allocations: 1.281 kB / 0.5487 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.79e-05/0.3783, allocations: 0 / 0.5487 GB, free: 10.19 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 180
 * Number of variables: 180
Notification: Performance of Generate backend data structure: time 0.002569/0.3809, allocations: 1.099 MB / 0.5498 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3809, allocations: 8.969 kB / 0.5498 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.3816, allocations: 140.2 kB / 0.5499 GB, free: 9.305 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.3829, allocations: 0.6234 MB / 0.5505 GB, free: 8.828 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.383, allocations: 80.08 kB / 0.5506 GB, free: 8.773 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3832, allocations: 68.12 kB / 0.5507 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.3848, allocations: 0.957 MB / 0.5516 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.3848, allocations: 2.188 kB / 0.5516 GB, free: 8.129 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.3849, allocations: 34.2 kB / 0.5516 GB, free: 8.102 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.385, allocations: 58.84 kB / 0.5517 GB, free: 8.086 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.3864, allocations: 0.7786 MB / 0.5525 GB, free: 7.695 MB / 398.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/0.3918, allocations: 3.763 MB / 0.5561 GB, free: 4.16 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.3927, allocations: 428.1 kB / 0.5565 GB, free: 3.715 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/0.3931, allocations: 234.3 kB / 0.5568 GB, free: 3.477 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3932, allocations: 8 kB / 0.5568 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3932, allocations: 38.5 kB / 0.5568 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=37): time 1.913e-06/0.3932, allocations: 0 / 0.5568 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of matching and sorting (n=55): time 0.01122/0.4044, allocations: 3.363 MB / 0.5601 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.4045, allocations: 119.2 kB / 0.5602 GB, free: 15.85 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/0.4052, allocations: 0.5261 MB / 0.5607 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.4053, allocations: 33.7 kB / 0.5608 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4056, allocations: 416 kB / 0.5612 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4058, allocations: 206.2 kB / 0.5614 GB, free: 14.66 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.406, allocations: 126.6 kB / 0.5615 GB, free: 14.53 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002234/0.4063, allocations: 366.8 kB / 0.5618 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.4068, allocations: 281.8 kB / 0.5621 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/0.4075, allocations: 0.5072 MB / 0.5626 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.4089, allocations: 0.8481 MB / 0.5634 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4089, allocations: 8 kB / 0.5634 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of matching and sorting (n=87) (initialization): time 0.003598/0.4125, allocations: 1.295 MB / 0.5647 GB, free: 11.01 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4125, allocations: 11.12 kB / 0.5647 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4125, allocations: 8 kB / 0.5647 GB, free: 11 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.4141, allocations: 455 kB / 0.5651 GB, free: 10.54 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4146, allocations: 111.8 kB / 0.5652 GB, free: 10.43 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.4262, allocations: 8.732 MB / 0.5738 GB, free: 1.223 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.4269, allocations: 28.12 kB / 0.5738 GB, free: 1.195 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.427, allocations: 31.98 kB / 0.5738 GB, free: 1.164 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 33
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (61):
 * Single equations (assignments): 57
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,3,100.0%), (2,9,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,9)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004983/0.4275, allocations: 309.5 kB / 0.5741 GB, free: 0.8516 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4276, allocations: 67.61 kB / 0.5742 GB, free: 0.7852 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.4307, allocations: 1.131 MB / 0.5753 GB, free: 15.64 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.4307, allocations: 4 kB / 0.5753 GB, free: 15.64 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4307, allocations: 8.047 kB / 0.5753 GB, free: 15.63 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4308, allocations: 11.92 kB / 0.5753 GB, free: 15.62 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00496/0.4357, allocations: 2.049 MB / 0.5773 GB, free: 13.5 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4357, allocations: 0 / 0.5773 GB, free: 13.5 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.4361, allocations: 67.89 kB / 0.5774 GB, free: 13.43 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4375, allocations: 435.1 kB / 0.5778 GB, free: 12.99 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.4376, allocations: 12 kB / 0.5778 GB, free: 12.98 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.4488, allocations: 8.458 MB / 0.5861 GB, free: 4.062 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4488, allocations: 0 / 0.5861 GB, free: 4.062 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.4528, allocations: 1.688 MB / 0.5877 GB, free: 2.332 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.4531, allocations: 119.5 kB / 0.5878 GB, free: 2.215 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.906e-05/0.4532, allocations: 12 kB / 0.5878 GB, free: 2.203 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.4536, allocations: 19.98 kB / 0.5879 GB, free: 2.184 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.4538, allocations: 60.45 kB / 0.5879 GB, free: 2.125 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4539, allocations: 19.94 kB / 0.5879 GB, free: 2.105 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0005291/0.4544, allocations: 374.8 kB / 0.5883 GB, free: 1.742 MB / 430.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 0.5883 GB, free: 1.742 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.00102/0.4554, allocations: 247.9 kB / 0.5885 GB, free: 1.5 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el)
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (31):
 * Single equations (assignments): 26
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(2,9,100.0%), (1,3,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,12)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003032/0.4557, allocations: 146.8 kB / 0.5887 GB, free: 1.348 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.002326/0.4581, allocations: 1.309 MB / 0.59 GB, free: 15.98 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4581, allocations: 0 / 0.59 GB, free: 15.98 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001436/0.4595, allocations: 0.9389 MB / 0.5909 GB, free: 14.99 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.4605, allocations: 168.5 kB / 0.591 GB, free: 14.83 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.4634, allocations: 1.718 MB / 0.5927 GB, free: 13.07 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.4642, allocations: 1.052 MB / 0.5937 GB, free: 11.99 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0003535/0.4646, allocations: 113.7 kB / 0.5938 GB, free: 11.88 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4647, allocations: 43.42 kB / 0.5939 GB, free: 11.84 MB / 446.1 MB
Notification: Performance of SimCode: time 1.393e-06/0.4647, allocations: 0 / 0.5939 GB, free: 11.84 MB / 446.1 MB
Notification: Performance of Templates: time 0.02813/0.4928, allocations: 15.8 MB / 0.6093 GB, free: 12.14 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480]
diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.5785626182332635]