Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001823/0.001823, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001665/0.001665, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.458/1.458, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2252/0.2252, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 79.88 kB / 0.4917 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1297, allocations: 66.05 MB / 0.5562 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009671/0.1394, allocations: 7.769 MB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.1444, allocations: 2.443 MB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1455, allocations: 27.94 kB / 0.5662 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.1498, allocations: 1.823 MB / 0.5679 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.152, allocations: 0.7126 MB / 0.5686 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.1546, allocations: 1.082 MB / 0.5697 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002256/0.1568, allocations: 1.406 MB / 0.5711 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1583, allocations: 0.7781 MB / 0.5718 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.1592, allocations: 0.6228 MB / 0.5724 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.16, allocations: 0.7276 MB / 0.5731 GB, free: 4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1602, allocations: 116 kB / 0.5733 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.161, allocations: 335.8 kB / 0.5736 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1612, allocations: 298.9 kB / 0.5739 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.1619, allocations: 0.6568 MB / 0.5745 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.164, allocations: 1.763 MB / 0.5762 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.164, allocations: 0 / 0.5762 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.164, allocations: 3.938 kB / 0.5762 GB, free: 0.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.1641, allocations: 0 / 0.5762 GB, free: 0.832 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007983/0.1721, allocations: 2.425 MB / 0.5786 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.1721, allocations: 12.03 kB / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.517e-05/0.1722, allocations: 34.83 kB / 0.5786 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/0.1724, allocations: 194.7 kB / 0.5788 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009827/0.1822, allocations: 1.335 MB / 0.5801 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.1838, allocations: 0.621 MB / 0.5807 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.1839, allocations: 95.02 kB / 0.5808 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.1842, allocations: 139.9 kB / 0.581 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.1873, allocations: 1.491 MB / 0.5824 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.1873, allocations: 3.953 kB / 0.5824 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.1875, allocations: 52 kB / 0.5825 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.1875, allocations: 36 kB / 0.5825 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.1903, allocations: 1.517 MB / 0.584 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008867/0.1992, allocations: 5.616 MB / 0.5895 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.2018, allocations: 2.045 MB / 0.5915 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2366/0.4384, allocations: 0.5495 MB / 0.592 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.4387, allocations: 192.6 kB / 0.5922 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4387, allocations: 47.86 kB / 0.5922 GB, free: 33.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.487e-06/0.4387, allocations: 0.5312 kB / 0.5922 GB, free: 33.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009303/0.448, allocations: 3.075 MB / 0.5952 GB, free: 33.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.4481, allocations: 90.3 kB / 0.5953 GB, free: 33.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.4487, allocations: 468.8 kB / 0.5958 GB, free: 33.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.4487, allocations: 51.31 kB / 0.5958 GB, free: 33.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.449, allocations: 480.1 kB / 0.5963 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.4492, allocations: 444.3 kB / 0.5967 GB, free: 32.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.4496, allocations: 217.2 kB / 0.5969 GB, free: 32.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4497, allocations: 384.6 kB / 0.5973 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/0.4506, allocations: 459.5 kB / 0.5977 GB, free: 32.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4516, allocations: 0.6954 MB / 0.5984 GB, free: 32.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.4534, allocations: 1.203 MB / 0.5996 GB, free: 31.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4534, allocations: 2.188 kB / 0.5996 GB, free: 31.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003024/0.4564, allocations: 1.58 MB / 0.6011 GB, free: 30.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.4564, allocations: 9.328 kB / 0.6011 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.4565, allocations: 7.812 kB / 0.6011 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.4581, allocations: 0.5245 MB / 0.6016 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000813/0.4589, allocations: 199.4 kB / 0.6018 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002041/0.4591, allocations: 50.38 kB / 0.6019 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.4598, allocations: 129.8 kB / 0.602 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.4598, allocations: 53.08 kB / 0.602 GB, free: 30.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004134/0.4603, allocations: 271.2 kB / 0.6023 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4604, allocations: 83.61 kB / 0.6024 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.4632, allocations: 1.539 MB / 0.6039 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.4632, allocations: 13.25 kB / 0.6039 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4632, allocations: 6.359 kB / 0.6039 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4632, allocations: 13 kB / 0.6039 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.4676, allocations: 2.842 MB / 0.6067 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4676, allocations: 5.531 kB / 0.6067 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.4683, allocations: 145.8 kB / 0.6068 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.4698, allocations: 0.517 MB / 0.6073 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.4699, allocations: 27.38 kB / 0.6074 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/0.4702, allocations: 60.58 kB / 0.6074 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4702, allocations: 1.438 kB / 0.6074 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.4739, allocations: 2.32 MB / 0.6097 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.4743, allocations: 285.9 kB / 0.61 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4744, allocations: 26.25 kB / 0.61 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.475, allocations: 51.73 kB / 0.61 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.4752, allocations: 82 kB / 0.6101 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.4753, allocations: 38.12 kB / 0.6102 GB, free: 26.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.4757, allocations: 310 kB / 0.6105 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4757, allocations: 0 / 0.6105 GB, free: 26.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4767, allocations: 351 kB / 0.6108 GB, free: 26.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003988/0.4807, allocations: 2.911 MB / 0.6136 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.4835, allocations: 1.283 MB / 0.6149 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4835, allocations: 4.25 kB / 0.6149 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.4852, allocations: 0.6828 MB / 0.6156 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.4859, allocations: 95.98 kB / 0.6156 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.4973, allocations: 8.381 MB / 0.6238 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4977, allocations: 1.051 MB / 0.6249 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.4981, allocations: 119.5 kB / 0.625 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.4984, allocations: 393.9 kB / 0.6253 GB, free: 18.12 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4984, allocations: 0 / 0.6253 GB, free: 18.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/0.5403, allocations: 22.13 MB / 0.647 GB, free: 13.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.59, allocations: 15 kB / 0.647 GB, free: 13.8 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 17.317534510977566]