Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.00079/0.00079, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008439/0.0008439, allocations: 164.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.884/0.884, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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.2412/0.2412, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/2.027e-05, allocations: 2.281 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.1843/0.1843, allocations: 19.55 MB / 461.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1945, allocations: 5.395 MB / 467.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.1994, allocations: 233 kB / 467.3 MB, free: 28.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009858/0.2093, allocations: 9.372 MB / 476.7 MB, free: 23.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.2168, allocations: 2.245 MB / 478.9 MB, free: 21.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.2214, allocations: 1.88 MB / 480.8 MB, free: 20.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01133/0.2327, allocations: 15.02 MB / 495.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03535/0.2681, allocations: 21.17 MB / 0.5049 GB, free: 0.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02546/0.2935, allocations: 11.91 MB / 0.5165 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/0.3093, allocations: 7.875 MB / 0.5242 GB, free: 2.031 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006376/0.3156, allocations: 2.098 MB / 0.5263 GB, free: 15.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007454/0.3231, allocations: 2.351 MB / 0.5286 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007547/0.3306, allocations: 4.414 MB / 0.5329 GB, free: 9.156 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01346/0.3441, allocations: 5.665 MB / 0.5384 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03084/0.3749, allocations: 29.11 MB / 0.5668 GB, free: 6.293 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3749, allocations: 0 / 0.5668 GB, free: 6.293 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.375, allocations: 0 / 0.5668 GB, free: 6.293 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001206/0.3762, allocations: 0 / 0.5668 GB, free: 6.293 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04275/0.4189, allocations: 18.79 MB / 0.5852 GB, free: 3.391 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.419, allocations: 8.031 kB / 0.5852 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006753/0.4257, allocations: 2.017 MB / 0.5872 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03218/0.4579, allocations: 11.48 MB / 0.5984 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.4738, allocations: 9.051 MB / 0.6072 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008551/0.4746, allocations: 1.052 MB / 0.6082 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005115/0.4797, allocations: 1.375 MB / 0.6096 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05032/0.5301, allocations: 23.94 MB / 0.633 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004536/0.5305, allocations: 23.83 kB / 0.633 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004299/0.5348, allocations: 0.5664 MB / 0.6335 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005385/0.5354, allocations: 0.7018 MB / 0.6342 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3972/0.9326, allocations: 21.66 MB / 0.6554 GB, free: 121.5 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/1.036, allocations: 63.37 MB / 0.7172 GB, free: 88.92 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.049, allocations: 11.35 MB / 0.7283 GB, free: 80.56 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005351/1.054, allocations: 4.504 MB / 0.7327 GB, free: 76.03 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/1.074, allocations: 14.32 MB / 0.7467 GB, free: 61.98 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/1.074, allocations: 86.09 kB / 0.7468 GB, free: 61.89 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=465): time 7.354e-06/1.074, allocations: 0 / 0.7468 GB, free: 61.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=465): time 0.02188/1.096, allocations: 15.43 MB / 0.7619 GB, free: 46.43 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.096, allocations: 124.7 kB / 0.762 GB, free: 46.29 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006177/1.102, allocations: 5.301 MB / 0.7672 GB, free: 41.12 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009936/1.103, allocations: 97.7 kB / 0.7673 GB, free: 41.02 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.105, allocations: 6.084 MB / 0.7732 GB, free: 35.42 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.107, allocations: 1.642 MB / 0.7748 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/1.109, allocations: 1.54 MB / 0.7763 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.48e-05/1.109, allocations: 309 kB / 0.7766 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/1.113, allocations: 4.156 MB / 0.7807 GB, free: 27.79 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004936/1.118, allocations: 7.266 MB / 0.7878 GB, free: 19.08 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009839/1.128, allocations: 11.95 MB / 0.7994 GB, free: 5.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.601e-05/1.128, allocations: 28 kB / 0.7995 GB, free: 5.633 MB / 0.5262 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01835/1.147, allocations: 13.09 MB / 0.8122 GB, free: 8.531 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/1.147, allocations: 49.09 kB / 0.8123 GB, free: 8.484 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/1.147, allocations: 108.1 kB / 0.8124 GB, free: 8.379 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/1.151, allocations: 3.097 MB / 0.8154 GB, free: 5.27 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/1.155, allocations: 1.595 MB / 0.817 GB, free: 3.672 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/1.156, allocations: 339.2 kB / 0.8173 GB, free: 3.328 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005551/1.162, allocations: 1.075 MB / 0.8183 GB, free: 2.246 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.163, allocations: 384 kB / 0.8187 GB, free: 1.871 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.009195/1.172, allocations: 5.396 MB / 0.824 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.173, allocations: 0.5201 MB / 0.8245 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.186, allocations: 9.545 MB / 0.8338 GB, free: 2.355 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/1.186, allocations: 51.94 kB / 0.8339 GB, free: 2.305 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.186, allocations: 0 / 0.8339 GB, free: 2.305 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.487e-05/1.186, allocations: 27.91 kB / 0.8339 GB, free: 2.277 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2547/1.441, allocations: 20.09 MB / 0.8535 GB, free: 162.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/1.441, allocations: 0 / 0.8535 GB, free: 162.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.443, allocations: 0.7396 MB / 0.8542 GB, free: 162.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00419/1.448, allocations: 2.968 MB / 0.8571 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008912/1.448, allocations: 104.2 kB / 0.8572 GB, free: 162.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/1.449, allocations: 150.7 kB / 0.8574 GB, free: 162.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.449, allocations: 0 / 0.8574 GB, free: 162.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.463, allocations: 14.19 MB / 0.8712 GB, free: 158 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.466, allocations: 1.365 MB / 0.8725 GB, free: 157.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/1.467, allocations: 86.03 kB / 0.8726 GB, free: 157.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.468, allocations: 359.1 kB / 0.873 GB, free: 157.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/1.469, allocations: 335.6 kB / 0.8733 GB, free: 157.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.469, allocations: 139.1 kB / 0.8734 GB, free: 157.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004593/1.474, allocations: 3.424 MB / 0.8768 GB, free: 156.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.474, allocations: 3.625 kB / 0.8768 GB, free: 156.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008752/1.482, allocations: 3.232 MB / 0.8799 GB, free: 155.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01836/1.501, allocations: 14.9 MB / 0.8945 GB, free: 149.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.514, allocations: 9.517 MB / 0.9038 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.514, allocations: 0 / 0.9038 GB, free: 146.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005731/1.52, allocations: 4.118 MB / 0.9078 GB, free: 145.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/1.524, allocations: 1.267 MB / 0.909 GB, free: 144.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09811/1.622, allocations: 77.94 MB / 0.9851 GB, free: 75.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/1.634, allocations: 8.644 MB / 0.9936 GB, free: 67.15 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.004945/1.639, allocations: 2.861 MB / 0.9964 GB, free: 64.29 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005003/1.644, allocations: 4.702 MB / 1.001 GB, free: 59.58 MB / 0.573 GB Notification: Performance of SimCode: time 1.513e-06/1.644, allocations: 0 / 1.001 GB, free: 59.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3754/2.02, allocations: 175.1 MB / 1.172 GB, free: 119.2 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/14.49, allocations: 3.938 kB / 1.172 GB, free: 119.2 MB / 0.5887 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 19.074073751457036]