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.001158/0.001158, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.001383/0.001383, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.907/0.907, allocations: 177 MB / 204.1 MB, free: 5.762 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.2406/0.2406, allocations: 34.23 MB / 294.8 MB, free: 0.6875 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.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 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.324e-05, allocations: 2.281 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1614/0.1615, allocations: 6.819 MB / 449 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1646, allocations: 2.291 MB / 451.3 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.1652, allocations: 34.09 kB / 451.3 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.1671, allocations: 1.783 MB / 453.1 MB, free: 38.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.1683, allocations: 0.7234 MB / 453.8 MB, free: 37.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1695, allocations: 1.036 MB / 454.8 MB, free: 37.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1706, allocations: 1.457 MB / 456.3 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009611/0.1715, allocations: 0.9113 MB / 457.2 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.1723, allocations: 0.8659 MB / 458.1 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.1728, allocations: 0.5607 MB / 458.6 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.173, allocations: 112.8 kB / 458.7 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005909/0.1735, allocations: 331.2 kB / 459.1 MB, free: 35.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1737, allocations: 301.4 kB / 459.4 MB, free: 34.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.1739, allocations: 458 kB / 459.8 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1751, allocations: 1.807 MB / 461.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1751, allocations: 0 / 461.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1751, allocations: 4.688 kB / 461.6 MB, free: 34.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1751, allocations: 0 / 461.6 MB, free: 34.04 MB / 410.7 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.003996/0.1791, allocations: 2.323 MB / 463.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1792, allocations: 8.594 kB / 463.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.1793, allocations: 195.7 kB / 464.1 MB, free: 32.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.1838, allocations: 1.341 MB / 465.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008586/0.1847, allocations: 0.5545 MB / 466 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.1848, allocations: 95.05 kB / 466.1 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1849, allocations: 133.1 kB / 466.3 MB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1865, allocations: 1.594 MB / 467.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.1865, allocations: 11.17 kB / 467.9 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.101e-05/0.1866, allocations: 53.47 kB / 467.9 MB, free: 31.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1866, allocations: 36.41 kB / 468 MB, free: 31.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.1881, allocations: 1.504 MB / 469.5 MB, free: 30.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.1924, allocations: 4.443 MB / 473.9 MB, free: 27.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1935, allocations: 1.076 MB / 475 MB, free: 27.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.194, allocations: 0.5463 MB / 475.5 MB, free: 27.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.1941, allocations: 35.83 kB / 475.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1941, allocations: 45.53 kB / 475.6 MB, free: 27.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.146e-06/0.1941, allocations: 0 / 475.6 MB, free: 27.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004974/0.1991, allocations: 2.997 MB / 478.6 MB, free: 26.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.1991, allocations: 94.3 kB / 478.7 MB, free: 26.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1994, allocations: 471.1 kB / 479.2 MB, free: 25.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.1995, allocations: 52.2 kB / 479.2 MB, free: 25.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1996, allocations: 479.9 kB / 479.7 MB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1998, allocations: 438.7 kB / 480.1 MB, free: 25.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.1999, allocations: 220 kB / 480.3 MB, free: 25.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.2, allocations: 388.5 kB / 480.7 MB, free: 24.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.2005, allocations: 454.3 kB / 481.1 MB, free: 24.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.2011, allocations: 0.6964 MB / 481.8 MB, free: 24.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.2022, allocations: 1.204 MB / 483 MB, free: 23.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.2023, allocations: 2.375 kB / 483 MB, free: 23.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001893/0.2041, allocations: 1.579 MB / 484.6 MB, free: 22.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2042, allocations: 7.469 kB / 484.6 MB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.2042, allocations: 8.125 kB / 484.6 MB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.2052, allocations: 0.5241 MB / 485.2 MB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2056, allocations: 200.7 kB / 485.4 MB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000109/0.2057, allocations: 57 kB / 485.4 MB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.2061, allocations: 120.3 kB / 485.5 MB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.2062, allocations: 53.78 kB / 485.6 MB, free: 22.33 MB / 410.7 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.0003408/0.2065, allocations: 276 kB / 485.9 MB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.2066, allocations: 89.52 kB / 485.9 MB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.2084, allocations: 1.538 MB / 487.5 MB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2084, allocations: 12.31 kB / 487.5 MB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2084, allocations: 1.938 kB / 487.5 MB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.2084, allocations: 20.03 kB / 487.5 MB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.2114, allocations: 2.642 MB / 490.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2114, allocations: 0.9062 kB / 490.2 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2118, allocations: 150.3 kB / 490.3 MB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/0.2127, allocations: 0.5139 MB / 490.8 MB, free: 19.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.2127, allocations: 28.23 kB / 490.8 MB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001412/0.2129, allocations: 65.98 kB / 490.9 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2129, allocations: 1.375 kB / 490.9 MB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.2153, allocations: 2.319 MB / 493.2 MB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.2157, allocations: 210.2 kB / 493.4 MB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.2158, allocations: 26.09 kB / 493.5 MB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.216, allocations: 42.86 kB / 493.5 MB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2162, allocations: 85.53 kB / 493.6 MB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.302e-05/0.2162, allocations: 36.17 kB / 493.6 MB, free: 18.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.2165, allocations: 310.7 kB / 493.9 MB, free: 18.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2165, allocations: 0 / 493.9 MB, free: 18.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007815/0.2173, allocations: 349.6 kB / 494.3 MB, free: 18.15 MB / 410.7 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.002945/0.2202, allocations: 2.935 MB / 497.2 MB, free: 16.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2221, allocations: 1.28 MB / 498.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2221, allocations: 1 kB / 498.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2232, allocations: 0.6806 MB / 499.2 MB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.2237, allocations: 102.8 kB / 499.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.2325, allocations: 8.386 MB / 0.4957 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.2329, allocations: 453.4 kB / 0.4962 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.2332, allocations: 109.1 kB / 0.4963 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.2335, allocations: 396.3 kB / 0.4967 GB, free: 10.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2335, allocations: 0 / 0.4967 GB, free: 10.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.2684, allocations: 21.61 MB / 0.5178 GB, free: 8.168 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.653, allocations: 7.438 kB / 0.5178 GB, free: 8.164 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 10.839240421541035]