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.001622/0.001622, allocations: 116.4 kB / 18.5 MB, free: 4.578 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.001912/0.001912, allocations: 208.9 kB / 21.46 MB, free: 1.621 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.504/1.504, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2406/0.2406, allocations: 46.9 MB / 357.4 MB, free: 10.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 79.86 kB / 0.4912 GB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1314, allocations: 66 MB / 0.5557 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009635/0.141, allocations: 7.765 MB / 0.5633 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005442/0.1465, allocations: 2.451 MB / 0.5657 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008627/0.1473, allocations: 28 kB / 0.5657 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.1519, allocations: 1.819 MB / 0.5675 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.1546, allocations: 0.7226 MB / 0.5682 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.1571, allocations: 1.068 MB / 0.5692 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.1592, allocations: 1.417 MB / 0.5706 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1605, allocations: 0.7742 MB / 0.5714 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.1613, allocations: 0.6072 MB / 0.572 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008018/0.1621, allocations: 0.7237 MB / 0.5727 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.1622, allocations: 120 kB / 0.5728 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.1629, allocations: 335.8 kB / 0.5731 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.1632, allocations: 302.9 kB / 0.5734 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005741/0.1637, allocations: 0.653 MB / 0.574 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.1657, allocations: 1.763 MB / 0.5757 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1657, allocations: 0 / 0.5757 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1657, allocations: 3.938 kB / 0.5757 GB, free: 1.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1658, allocations: 3.938 kB / 0.5757 GB, free: 1.578 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.007334/0.1731, allocations: 2.417 MB / 0.5781 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1731, allocations: 12.03 kB / 0.5781 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/0.1734, allocations: 190.7 kB / 0.5783 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009578/0.183, allocations: 1.342 MB / 0.5796 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1841, allocations: 0.621 MB / 0.5802 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1842, allocations: 99.02 kB / 0.5803 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.1845, allocations: 132.1 kB / 0.5804 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.1873, allocations: 1.491 MB / 0.5819 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.1874, allocations: 3.953 kB / 0.5819 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.1875, allocations: 56 kB / 0.582 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.1876, allocations: 32 kB / 0.582 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.1904, allocations: 1.525 MB / 0.5835 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008751/0.1992, allocations: 5.612 MB / 0.589 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.2018, allocations: 2.046 MB / 0.591 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2029, allocations: 0.5499 MB / 0.5915 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.2031, allocations: 195.2 kB / 0.5917 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.2032, allocations: 47.56 kB / 0.5917 GB, free: 452 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.487e-06/0.2032, allocations: 0 / 0.5917 GB, free: 452 kB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.2733/0.4765, allocations: 3.074 MB / 0.5947 GB, free: 34.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4766, allocations: 92.72 kB / 0.5948 GB, free: 33.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.4772, allocations: 466.8 kB / 0.5953 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.4772, allocations: 44.64 kB / 0.5953 GB, free: 33.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.4775, allocations: 481.1 kB / 0.5958 GB, free: 33.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.4778, allocations: 444.6 kB / 0.5962 GB, free: 33.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/0.4781, allocations: 217.2 kB / 0.5964 GB, free: 33.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4782, allocations: 385.2 kB / 0.5968 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.4792, allocations: 457.7 kB / 0.5972 GB, free: 33.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009711/0.4801, allocations: 0.6968 MB / 0.5979 GB, free: 32.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.4819, allocations: 1.202 MB / 0.599 GB, free: 32.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4819, allocations: 2.656 kB / 0.599 GB, free: 32.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003127/0.4851, allocations: 1.587 MB / 0.6006 GB, free: 31.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4851, allocations: 8.609 kB / 0.6006 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.4851, allocations: 7.594 kB / 0.6006 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.4866, allocations: 0.5248 MB / 0.6011 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.4874, allocations: 194.4 kB / 0.6013 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001923/0.4876, allocations: 54.67 kB / 0.6014 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/0.4883, allocations: 126.8 kB / 0.6015 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.977e-05/0.4884, allocations: 49.2 kB / 0.6015 GB, free: 31.27 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.0004412/0.4888, allocations: 270.2 kB / 0.6018 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.489, allocations: 82.89 kB / 0.6019 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.4917, allocations: 1.544 MB / 0.6034 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.4918, allocations: 13.39 kB / 0.6034 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4918, allocations: 0 / 0.6034 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4918, allocations: 7.344 kB / 0.6034 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/0.4963, allocations: 2.851 MB / 0.6062 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.4963, allocations: 7.641 kB / 0.6062 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.4969, allocations: 142.2 kB / 0.6063 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.4984, allocations: 0.5225 MB / 0.6068 GB, free: 28.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.4985, allocations: 30.47 kB / 0.6069 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003307/0.4988, allocations: 62.73 kB / 0.6069 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4988, allocations: 0.625 kB / 0.6069 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.5029, allocations: 2.32 MB / 0.6092 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/0.5035, allocations: 286.1 kB / 0.6095 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.5037, allocations: 23.89 kB / 0.6095 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/0.5046, allocations: 47.31 kB / 0.6095 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.5049, allocations: 77.69 kB / 0.6096 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.505, allocations: 38.77 kB / 0.6096 GB, free: 27.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005268/0.5055, allocations: 309.9 kB / 0.6099 GB, free: 27.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5055, allocations: 2.953 kB / 0.6099 GB, free: 27.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001592/0.5071, allocations: 350.7 kB / 0.6103 GB, free: 26.97 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.005851/0.513, allocations: 2.922 MB / 0.6131 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.5174, allocations: 1.267 MB / 0.6144 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.5174, allocations: 3.828 kB / 0.6144 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.5198, allocations: 0.6894 MB / 0.615 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.521, allocations: 105.8 kB / 0.6151 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.5406, allocations: 8.38 MB / 0.6233 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.5412, allocations: 1.041 MB / 0.6243 GB, free: 19.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000691/0.5419, allocations: 121.3 kB / 0.6245 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.5424, allocations: 393.3 kB / 0.6248 GB, free: 18.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.823e-06/0.5424, allocations: 3.391 kB / 0.6248 GB, free: 18.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/0.5967, allocations: 22.09 MB / 0.6464 GB, free: 14.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.9, allocations: 7.016 kB / 0.6464 GB, free: 14.96 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.385544450953603]