Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001794/0.001794, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.00206/0.00206, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.519/1.519, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 51.92 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005206/0.1094, allocations: 3.714 MB / 421.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1118, allocations: 1.441 MB / 422.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.112, allocations: 8 kB / 422.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.1138, allocations: 0.7614 MB / 423.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1149, allocations: 0.5403 MB / 424.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.1157, allocations: 426.3 kB / 424.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005037/0.1162, allocations: 466 kB / 425.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.1169, allocations: 366 kB / 425.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.1172, allocations: 219.2 kB / 425.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.1175, allocations: 275 kB / 426 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.1176, allocations: 44 kB / 426 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.1179, allocations: 211.8 kB / 426.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.963e-05/0.118, allocations: 107.7 kB / 426.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.1183, allocations: 234.8 kB / 426.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.1191, allocations: 0.7082 MB / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1191, allocations: 0 / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1191, allocations: 0 / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1191, allocations: 0 / 427.2 MB, free: 3.082 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002112/0.1212, allocations: 0.9277 MB / 428.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1213, allocations: 8.031 kB / 428.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.1214, allocations: 96.02 kB / 428.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.1248, allocations: 0.4923 MB / 428.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.1253, allocations: 311.7 kB / 429.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.1254, allocations: 37.69 kB / 429.1 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.1254, allocations: 52.38 kB / 429.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.1264, allocations: 0.5296 MB / 429.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1264, allocations: 4 kB / 429.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.1265, allocations: 20 kB / 429.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1265, allocations: 12 kB / 429.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1276, allocations: 0.583 MB / 430.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.1306, allocations: 1.883 MB / 432.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.1328, allocations: 2.113 MB / 434.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.1333, allocations: 230.1 kB / 434.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.1334, allocations: 97.52 kB / 434.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.1334, allocations: 38.94 kB / 434.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 1.854e-06/0.1334, allocations: 0 / 434.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.001755/0.1352, allocations: 0.735 MB / 435.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1352, allocations: 63.84 kB / 435.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1354, allocations: 182.3 kB / 435.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1355, allocations: 37.7 kB / 435.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1356, allocations: 228.9 kB / 435.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.1358, allocations: 166.5 kB / 436.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1359, allocations: 94.2 kB / 436.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1361, allocations: 338.8 kB / 436.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1364, allocations: 149.1 kB / 436.6 MB, free: 9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.1368, allocations: 246.5 kB / 436.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.1375, allocations: 416.9 kB / 437.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1375, allocations: 0 / 437.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001026/0.1385, allocations: 0.5278 MB / 437.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1385, allocations: 11.98 kB / 437.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1385, allocations: 0 / 437.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.1389, allocations: 81 kB / 437.9 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.1393, allocations: 99.81 kB / 438 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.1412, allocations: 1.785 MB / 439.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1414, allocations: 47.67 kB / 439.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.1415, allocations: 19.98 kB / 439.8 MB, free: 5.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.1417, allocations: 169.8 kB / 440 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.1418, allocations: 23.86 kB / 440 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1429, allocations: 0.5356 MB / 440.6 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1429, allocations: 4 kB / 440.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1429, allocations: 3.938 kB / 440.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1429, allocations: 3.984 kB / 440.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.1447, allocations: 1.148 MB / 441.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1447, allocations: 0 / 441.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.145, allocations: 83.89 kB / 441.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.1453, allocations: 76.88 kB / 441.9 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1453, allocations: 12 kB / 441.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.1472, allocations: 1.77 MB / 443.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1472, allocations: 0 / 443.7 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1485, allocations: 0.7952 MB / 444.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.1486, allocations: 116.8 kB / 444.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.1486, allocations: 8 kB / 444.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.1489, allocations: 24.05 kB / 444.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.1489, allocations: 36.33 kB / 444.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.149, allocations: 16 kB / 444.7 MB, free: 500 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1491, allocations: 136.2 kB / 444.8 MB, free: 364 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1491, allocations: 3.938 kB / 444.8 MB, free: 360 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.1496, allocations: 147.7 kB / 444.9 MB, free: 212 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_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 (44): * Single equations (assignments): 43 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1886/0.3381, allocations: 1.37 MB / 446.3 MB, free: 29.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3392, allocations: 0.5407 MB / 446.9 MB, free: 29.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3392, allocations: 0 / 446.9 MB, free: 29.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004938/0.3397, allocations: 358.5 kB / 447.2 MB, free: 29.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3401, allocations: 35.25 kB / 447.2 MB, free: 29.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.344, allocations: 3.441 MB / 450.7 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.3443, allocations: 0.8119 MB / 451.5 MB, free: 26.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3445, allocations: 48.84 kB / 451.5 MB, free: 26.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3447, allocations: 131.4 kB / 451.7 MB, free: 26.89 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3447, allocations: 0 / 451.7 MB, free: 26.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.3924, allocations: 7.656 MB / 459.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.48, allocations: 15.77 kB / 459.3 MB, free: 26.13 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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: 12.938789640087634]