Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 93.33 kB / 17.35 MB, free: 6.371 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.0009559/0.000956, allocations: 174.8 kB / 18.25 MB, free: 5.523 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.223/1.223, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.168/0.168, allocations: 44.24 MB / 337.7 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 16.58 kB / 410.4 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09547, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01632/0.1118, allocations: 18.43 MB / 490.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009559/0.1214, allocations: 4.834 MB / 495.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003983/0.1255, allocations: 147.5 kB / 495.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.1283, allocations: 1.221 MB / 497 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.1339, allocations: 2.015 MB / 499 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.1363, allocations: 1.165 MB / 0.4885 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.1474, allocations: 12.43 MB / 0.5006 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.218/0.3654, allocations: 25.38 MB / 0.5254 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005671/0.3711, allocations: 4.549 MB / 0.5298 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006289/0.3774, allocations: 5.473 MB / 0.5352 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.3785, allocations: 0.6789 MB / 0.5358 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.3805, allocations: 0.8746 MB / 0.5367 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.3819, allocations: 2.325 MB / 0.539 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00404/0.3859, allocations: 5.563 MB / 0.5444 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.402, allocations: 22.16 MB / 0.566 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.402, allocations: 0 / 0.566 GB, free: 13.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.402, allocations: 3.938 kB / 0.566 GB, free: 13.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004375/0.4025, allocations: 4 kB / 0.566 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.02756/0.4301, allocations: 11.86 MB / 0.5776 GB, free: 1.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4301, allocations: 12.03 kB / 0.5776 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003971/0.4341, allocations: 1.72 MB / 0.5793 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05713/0.4912, allocations: 11.49 MB / 0.5905 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.5046, allocations: 7.08 MB / 0.5974 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008569/0.5055, allocations: 0.8893 MB / 0.5983 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/0.5094, allocations: 1.173 MB / 0.5995 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03886/0.5482, allocations: 18.57 MB / 0.6176 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/0.5487, allocations: 15.81 kB / 0.6176 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002826/0.5515, allocations: 494.1 kB / 0.6181 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006248/0.5521, allocations: 0.6577 MB / 0.6187 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03442/0.5866, allocations: 19.09 MB / 0.6374 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09147/0.6781, allocations: 60.87 MB / 0.6968 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3719/1.05, allocations: 16.6 MB / 0.713 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006688/1.057, allocations: 4.527 MB / 0.7174 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004273/1.057, allocations: 236.3 kB / 0.7177 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/1.057, allocations: 105.4 kB / 0.7178 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.764e-06/1.057, allocations: 0 / 0.7178 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.01698/1.074, allocations: 12.37 MB / 0.7298 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.074, allocations: 127.2 kB / 0.73 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00956/1.084, allocations: 8.61 MB / 0.7384 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/1.084, allocations: 133.4 kB / 0.7385 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/1.086, allocations: 4.489 MB / 0.7429 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.088, allocations: 2.196 MB / 0.745 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/1.088, allocations: 0.5958 MB / 0.7456 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/1.088, allocations: 301.1 kB / 0.7459 GB, free: 139 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.093, allocations: 4.115 MB / 0.7499 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/1.098, allocations: 6.912 MB / 0.7567 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.109, allocations: 11.94 MB / 0.7683 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-05/1.109, allocations: 26.88 kB / 0.7684 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01411/1.123, allocations: 12.02 MB / 0.7801 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/1.123, allocations: 44 kB / 0.7801 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.254e-05/1.123, allocations: 88 kB / 0.7802 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/1.124, allocations: 411.9 kB / 0.7806 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005965/1.13, allocations: 2.001 MB / 0.7826 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/1.135, allocations: 8.922 MB / 0.7913 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.141, allocations: 1.358 MB / 0.7926 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/1.141, allocations: 372.8 kB / 0.793 GB, free: 103.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005463/1.147, allocations: 4.582 MB / 0.7974 GB, free: 98.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009133/1.147, allocations: 0.6943 MB / 0.7981 GB, free: 97.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/1.16, allocations: 10.62 MB / 0.8085 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/1.16, allocations: 64 kB / 0.8085 GB, free: 87.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.16, allocations: 4 kB / 0.8085 GB, free: 87.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.366e-05/1.16, allocations: 39.8 kB / 0.8086 GB, free: 87.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3335/1.494, allocations: 156.6 MB / 0.9615 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-05/1.494, allocations: 86.25 kB / 0.9616 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004796/1.499, allocations: 1.538 MB / 0.9631 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007378/1.499, allocations: 387 kB / 0.9635 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003868/1.5, allocations: 241.1 kB / 0.9637 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004515/1.504, allocations: 8.809 MB / 0.9723 GB, free: 136.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.138e-05/1.504, allocations: 131.4 kB / 0.9724 GB, free: 136.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.522, allocations: 18.54 MB / 0.9906 GB, free: 116.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003522/1.525, allocations: 2.019 MB / 0.9925 GB, free: 114.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009412/1.526, allocations: 243.9 kB / 0.9928 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004208/1.53, allocations: 0.5646 MB / 0.9933 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008441/1.531, allocations: 0.734 MB / 0.994 GB, free: 113.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/1.531, allocations: 308 kB / 0.9943 GB, free: 112.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007308/1.539, allocations: 6.047 MB / 1 GB, free: 106.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/1.539, allocations: 0 / 1 GB, free: 106.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006667/1.545, allocations: 2.617 MB / 1.003 GB, free: 104.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01635/1.562, allocations: 19.44 MB / 1.022 GB, free: 82.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.574, allocations: 10.38 MB / 1.032 GB, free: 72.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.675e-05/1.574, allocations: 16.06 kB / 1.032 GB, free: 72.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005567/1.579, allocations: 5.45 MB / 1.037 GB, free: 66.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07814/1.657, allocations: 1.488 MB / 1.039 GB, free: 65.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.387/2.044, allocations: 147.4 MB / 1.183 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00658/2.051, allocations: 7.768 MB / 1.19 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007609/2.059, allocations: 3.565 MB / 1.194 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004544/2.063, allocations: 4.147 MB / 1.198 GB, free: 142 MB / 0.5763 GB Notification: Performance of SimCode: time 6.01e-07/2.063, allocations: 6 kB / 1.198 GB, free: 142 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4843/2.548, allocations: 187.7 MB / 1.381 GB, free: 166 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/2.548, allocations: 240.8 kB / 1.381 GB, free: 165.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.741/8.289, allocations: 0 / 1.381 GB, free: 165.8 MB / 0.5763 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches