Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 112.8 kB / 19.16 MB, free: 3.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 209.6 kB / 22.12 MB, free: 0.9453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 207.6 MB / 232.5 MB, free: 3.922 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 51.94 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.0977, allocations: 49.13 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005401/0.1031, allocations: 3.765 MB / 395.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.106, allocations: 1.484 MB / 397.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1063, allocations: 8 kB / 397.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.1082, allocations: 0.7701 MB / 398.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009753/0.1091, allocations: 406 kB / 398.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1102, allocations: 0.5449 MB / 399.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.1108, allocations: 0.4939 MB / 399.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.1114, allocations: 370 kB / 399.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.1117, allocations: 231.1 kB / 400.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.112, allocations: 282.9 kB / 400.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.1121, allocations: 48 kB / 400.5 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1125, allocations: 211.8 kB / 400.7 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1126, allocations: 123.5 kB / 400.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.1129, allocations: 254.8 kB / 401.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008903/0.1137, allocations: 0.7122 MB / 401.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1138, allocations: 0 / 401.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1138, allocations: 4 kB / 401.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1138, allocations: 0 / 401.8 MB, free: 14.99 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002306/0.1161, allocations: 0.9549 MB / 402.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1161, allocations: 12.03 kB / 402.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.023e-05/0.1162, allocations: 17.44 kB / 402.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.1163, allocations: 104 kB / 402.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.1205, allocations: 0.5937 MB / 403.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.1211, allocations: 323.6 kB / 403.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.1211, allocations: 45.69 kB / 403.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1212, allocations: 59.94 kB / 403.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.1223, allocations: 0.5765 MB / 404.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1223, allocations: 4 kB / 404.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.1224, allocations: 20 kB / 404.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1224, allocations: 12 kB / 404.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1236, allocations: 0.6571 MB / 405.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/0.1269, allocations: 2.075 MB / 407.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.1298, allocations: 2.988 MB / 410.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.1304, allocations: 257.9 kB / 410.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.1305, allocations: 93.52 kB / 410.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.1305, allocations: 39 kB / 410.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.1305, allocations: 0 / 410.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004572/0.1351, allocations: 1.911 MB / 412.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1351, allocations: 55.97 kB / 412.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1353, allocations: 205.1 kB / 412.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.1354, allocations: 41.64 kB / 412.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1356, allocations: 236.8 kB / 413 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.1358, allocations: 234 kB / 413.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1359, allocations: 110.7 kB / 413.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1361, allocations: 346.8 kB / 413.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.1366, allocations: 225.9 kB / 413.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.1372, allocations: 368.2 kB / 414.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1382, allocations: 0.6178 MB / 414.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1382, allocations: 3.938 kB / 414.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001768/0.14, allocations: 0.8089 MB / 415.7 MB, free: 0 / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.14, allocations: 11.98 kB / 415.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.14, allocations: 4 kB / 415.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.1407, allocations: 173.6 kB / 415.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.1412, allocations: 131.8 kB / 416 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.1454, allocations: 3.6 MB / 419.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.1458, allocations: 35.92 kB / 419.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.1459, allocations: 28.05 kB / 419.7 MB, free: 11.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.1461, allocations: 181.7 kB / 419.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.1462, allocations: 39.7 kB / 419.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.148, allocations: 0.7932 MB / 420.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.148, allocations: 8 kB / 420.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.148, allocations: 3.938 kB / 420.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1481, allocations: 7.984 kB / 420.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.1508, allocations: 1.541 MB / 422.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.1508, allocations: 4 kB / 422.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.1512, allocations: 103.9 kB / 422.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005797/0.1518, allocations: 165.6 kB / 422.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.1519, allocations: 16 kB / 422.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.1558, allocations: 3.599 MB / 426.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1558, allocations: 0 / 426.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1581, allocations: 1.164 MB / 427.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1582, allocations: 112.9 kB / 427.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.1583, allocations: 15.98 kB / 427.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003417/0.1586, allocations: 23.98 kB / 427.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.1588, allocations: 52.48 kB / 427.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.1588, allocations: 16 kB / 427.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.159, allocations: 151.2 kB / 427.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.159, allocations: 0 / 427.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006727/0.1596, allocations: 159.9 kB / 427.8 MB, free: 3.172 MB / 350.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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002712/0.1624, allocations: 1.731 MB / 429.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.1642, allocations: 0.8913 MB / 430.5 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1642, allocations: 0 / 430.5 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.1653, allocations: 0.6026 MB / 431.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1657, allocations: 43.94 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.1732, allocations: 4.421 MB / 435.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.1738, allocations: 0.8414 MB / 436.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.174, allocations: 63.33 kB / 436.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.1743, allocations: 163.4 kB / 436.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1743, allocations: 0 / 436.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.2136, allocations: 10.23 MB / 446.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.76, allocations: 15.84 kB / 446.8 MB, free: 15.79 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 13.114032467012294]