Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 79.86 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.336, allocations: 66.08 MB / 0.5607 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01121/0.3472, allocations: 9.494 MB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.3532, allocations: 2.854 MB / 0.5728 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3548, allocations: 87.56 kB / 0.5729 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008838/0.3636, allocations: 3.785 MB / 0.5766 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.3676, allocations: 1.096 MB / 0.5776 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.3697, allocations: 0.7947 MB / 0.5784 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006211/0.376, allocations: 4.867 MB / 0.5832 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.3884, allocations: 7.779 MB / 0.5908 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/0.3928, allocations: 2.852 MB / 0.5935 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005384/0.3981, allocations: 3.154 MB / 0.5966 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.4, allocations: 0.7656 MB / 0.5974 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.4027, allocations: 0.9373 MB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002527/0.4053, allocations: 1.602 MB / 0.5999 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.4106, allocations: 3.012 MB / 0.6028 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.4231, allocations: 10.49 MB / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4231, allocations: 0 / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4231, allocations: 4 kB / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002716/0.4234, allocations: 0 / 0.613 GB, free: 14.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01857/0.442, allocations: 6.347 MB / 0.6192 GB, free: 8.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.442, allocations: 8.031 kB / 0.6192 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002807/0.4448, allocations: 0.8844 MB / 0.6201 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/0.4681, allocations: 3.938 MB / 0.624 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008743/0.4769, allocations: 3.268 MB / 0.6271 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004544/0.4773, allocations: 386.5 kB / 0.6275 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.4793, allocations: 0.5038 MB / 0.628 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.5028, allocations: 8.732 MB / 0.6365 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002485/0.5031, allocations: 0 / 0.6365 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001895/0.505, allocations: 216 kB / 0.6367 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004586/0.5054, allocations: 339.2 kB / 0.6371 GB, free: 5.668 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.5241, allocations: 8.051 MB / 0.6449 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04924/0.5734, allocations: 25.31 MB / 0.6696 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5849, allocations: 4.617 MB / 0.6742 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003057/0.588, allocations: 1.483 MB / 0.6756 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.5883, allocations: 77.88 kB / 0.6757 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.694e-05/0.5884, allocations: 60.56 kB / 0.6757 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 4.689e-06/0.5884, allocations: 0 / 0.6757 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006786/0.5952, allocations: 3.527 MB / 0.6792 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.5952, allocations: 107 kB / 0.6793 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/0.6015, allocations: 3.43 MB / 0.6826 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.6018, allocations: 61.7 kB / 0.6827 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.6038, allocations: 2.234 MB / 0.6849 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/0.6052, allocations: 0.7826 MB / 0.6856 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/0.6076, allocations: 0.703 MB / 0.6863 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6077, allocations: 305.1 kB / 0.6866 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.6112, allocations: 1.572 MB / 0.6881 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/0.6158, allocations: 3.191 MB / 0.6913 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/0.623, allocations: 5.075 MB / 0.6962 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.274e-05/0.623, allocations: 16 kB / 0.6962 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009025/0.6321, allocations: 4.956 MB / 0.7011 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.6321, allocations: 28.94 kB / 0.7011 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.749e-05/0.6322, allocations: 56 kB / 0.7012 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.32e-05/0.6323, allocations: 76 kB / 0.7012 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.6357, allocations: 0.9203 MB / 0.7021 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001208/0.6358, allocations: 111.6 kB / 0.7022 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.6386, allocations: 0.578 MB / 0.7028 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/0.639, allocations: 192 kB / 0.703 GB, free: 36 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003736/0.6428, allocations: 2.082 MB / 0.705 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.6434, allocations: 278.2 kB / 0.7053 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006157/0.6495, allocations: 3.183 MB / 0.7084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/0.6496, allocations: 20 kB / 0.7084 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.6496, allocations: 4 kB / 0.7084 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.6496, allocations: 11.95 kB / 0.7084 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/0.6685, allocations: 8.654 MB / 0.7169 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/0.6686, allocations: 16 kB / 0.7169 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/0.6709, allocations: 0.5617 MB / 0.7174 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.583e-05/0.6709, allocations: 28 kB / 0.7175 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002911/0.6712, allocations: 79.97 kB / 0.7175 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.618e-05/0.6713, allocations: 39.81 kB / 0.7176 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/0.6713, allocations: 23.88 kB / 0.7176 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00817/0.6794, allocations: 5.268 MB / 0.7227 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.6815, allocations: 0.6535 MB / 0.7234 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007903/0.6823, allocations: 67.98 kB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.6841, allocations: 127.8 kB / 0.7236 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/0.6845, allocations: 229.3 kB / 0.7238 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6847, allocations: 91.98 kB / 0.7239 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004691/0.6894, allocations: 2.388 MB / 0.7262 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6894, allocations: 4 kB / 0.7262 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004445/0.6938, allocations: 1.114 MB / 0.7273 GB, free: 6.465 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009762/0.7036, allocations: 5.944 MB / 0.7331 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2569/0.9605, allocations: 3.472 MB / 0.7365 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/0.9605, allocations: 2.531 kB / 0.7365 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.9627, allocations: 1.468 MB / 0.7379 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.9654, allocations: 0.5334 MB / 0.7384 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/1.006, allocations: 37.68 MB / 0.7752 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/1.009, allocations: 3.64 MB / 0.7788 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002628/1.011, allocations: 1.476 MB / 0.7802 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.013, allocations: 1.643 MB / 0.7818 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.013, allocations: 0 / 0.7818 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.123, allocations: 78.19 MB / 0.8582 GB, free: 36.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/18.26, allocations: 15.78 kB / 0.8582 GB, free: 36.64 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 22.33912666514516]