Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.91 MB / 349.6 MB, free: 1.758 MB / 270.1 MB " [Timeout remaining time 180] 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.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.27 kB / 491.8 MB, free: 29.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1331, allocations: 64.26 MB / 0.543 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01009/0.1432, allocations: 7.767 MB / 0.5506 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.1485, allocations: 2.377 MB / 0.5529 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009109/0.1494, allocations: 28 kB / 0.5529 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.1541, allocations: 1.823 MB / 0.5547 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.1571, allocations: 0.8729 MB / 0.5556 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.1596, allocations: 0.8926 MB / 0.5564 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.1621, allocations: 1.412 MB / 0.5578 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.1636, allocations: 0.7705 MB / 0.5586 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009228/0.1645, allocations: 0.5956 MB / 0.5591 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009249/0.1655, allocations: 0.7314 MB / 0.5599 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.1656, allocations: 112 kB / 0.56 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008247/0.1665, allocations: 331.7 kB / 0.5603 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.1668, allocations: 294.9 kB / 0.5606 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007692/0.1675, allocations: 0.6569 MB / 0.5612 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002757/0.1703, allocations: 1.767 MB / 0.5629 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1703, allocations: 0 / 0.5629 GB, free: 15.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1703, allocations: 0 / 0.5629 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.1703, allocations: 0 / 0.5629 GB, free: 15.64 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.008294/0.1786, allocations: 2.41 MB / 0.5653 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1787, allocations: 8.031 kB / 0.5653 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.1789, allocations: 194.7 kB / 0.5655 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009938/0.1889, allocations: 1.401 MB / 0.5668 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.1905, allocations: 0.617 MB / 0.5674 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.1906, allocations: 95.02 kB / 0.5675 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.1909, allocations: 140.1 kB / 0.5677 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.1937, allocations: 1.483 MB / 0.5691 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.1937, allocations: 3.938 kB / 0.5691 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1938, allocations: 52 kB / 0.5692 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.1939, allocations: 36 kB / 0.5692 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.1967, allocations: 1.509 MB / 0.5707 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009217/0.2059, allocations: 5.347 MB / 0.5759 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2086, allocations: 2.05 MB / 0.5779 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.2096, allocations: 0.546 MB / 0.5784 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.2097, allocations: 102.1 kB / 0.5785 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.2098, allocations: 55.55 kB / 0.5786 GB, free: 14.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.961e-06/0.2098, allocations: 3.984 kB / 0.5786 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.00973/0.2195, allocations: 3.075 MB / 0.5816 GB, free: 11.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.2196, allocations: 94.05 kB / 0.5817 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/0.2205, allocations: 465.9 kB / 0.5821 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.2206, allocations: 45.7 kB / 0.5822 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.2212, allocations: 489 kB / 0.5826 GB, free: 10.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/0.2218, allocations: 440.1 kB / 0.5831 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/0.2223, allocations: 214.9 kB / 0.5833 GB, free: 10.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.2226, allocations: 382.8 kB / 0.5836 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.2239, allocations: 454.4 kB / 0.5841 GB, free: 9.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.2255, allocations: 0.6958 MB / 0.5847 GB, free: 8.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.2285, allocations: 1.198 MB / 0.5859 GB, free: 7.121 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.2285, allocations: 4 kB / 0.5859 GB, free: 7.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004642/0.2331, allocations: 1.563 MB / 0.5874 GB, free: 5.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.2332, allocations: 8 kB / 0.5874 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.2332, allocations: 12.22 kB / 0.5875 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.2355, allocations: 0.524 MB / 0.588 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2367, allocations: 199.7 kB / 0.5882 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002699/0.237, allocations: 57.19 kB / 0.5882 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.2381, allocations: 127.1 kB / 0.5883 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.2382, allocations: 48 kB / 0.5884 GB, free: 4.578 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.0007148/0.2389, allocations: 269.5 kB / 0.5886 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.2392, allocations: 87.47 kB / 0.5887 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/0.2436, allocations: 1.532 MB / 0.5902 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.2436, allocations: 19.94 kB / 0.5902 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2436, allocations: 7.922 kB / 0.5902 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.2436, allocations: 3.984 kB / 0.5903 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.2502, allocations: 2.836 MB / 0.593 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.2503, allocations: 0 / 0.593 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.2511, allocations: 147.8 kB / 0.5932 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.253, allocations: 0.5145 MB / 0.5937 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/0.2531, allocations: 28 kB / 0.5937 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003605/0.2534, allocations: 68.72 kB / 0.5938 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2534, allocations: 0 / 0.5938 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/0.2586, allocations: 2.31 MB / 0.596 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.2593, allocations: 292.2 kB / 0.5963 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.2594, allocations: 23.94 kB / 0.5963 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.2601, allocations: 44.05 kB / 0.5964 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.2603, allocations: 77.2 kB / 0.5964 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.2604, allocations: 39.98 kB / 0.5965 GB, free: 12.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.2609, allocations: 306.9 kB / 0.5968 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2609, allocations: 0 / 0.5968 GB, free: 11.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001222/0.2621, allocations: 339.3 kB / 0.5971 GB, free: 11.52 MB / 462.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.006543/0.2687, allocations: 2.916 MB / 0.5999 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.2731, allocations: 1.28 MB / 0.6012 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2731, allocations: 1.312 kB / 0.6012 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.2755, allocations: 0.68 MB / 0.6018 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2766, allocations: 101.9 kB / 0.6019 GB, free: 6.512 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.305/0.5816, allocations: 8.35 MB / 0.6101 GB, free: 59.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.5823, allocations: 1.04 MB / 0.6111 GB, free: 58.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.5828, allocations: 107.7 kB / 0.6112 GB, free: 58.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.5834, allocations: 390.4 kB / 0.6116 GB, free: 58.55 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5834, allocations: 0 / 0.6116 GB, free: 58.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/0.6494, allocations: 21.97 MB / 0.633 GB, free: 51.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.76, allocations: 0 / 0.633 GB, free: 51.21 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.228744357824326]