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.005917/0.005917, allocations: 111.3 kB / 21.97 MB, free: 5.254 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.001688/0.001688, allocations: 206.5 kB / 25.27 MB, free: 3.234 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.366/1.366, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] 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.001713/0.001713, allocations: 61.33 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2507, allocations: 49.15 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004269/0.255, allocations: 3.787 MB / 400.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.2577, allocations: 1.487 MB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.2581, allocations: 8.75 kB / 402.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.2598, allocations: 0.767 MB / 403.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009178/0.2607, allocations: 407.5 kB / 403.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.2617, allocations: 0.5651 MB / 404.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.2622, allocations: 492.8 kB / 404.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.2629, allocations: 450.3 kB / 405.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.2632, allocations: 232.7 kB / 405.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.2635, allocations: 283.8 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.2636, allocations: 47.44 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.264, allocations: 212.5 kB / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.2641, allocations: 118.3 kB / 405.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.2643, allocations: 252.1 kB / 406.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.2651, allocations: 0.719 MB / 406.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2651, allocations: 1.062 kB / 406.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2651, allocations: 0 / 406.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.2651, allocations: 0 / 406.9 MB, free: 2.832 MB / 318.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.00193/0.267, allocations: 0.8828 MB / 407.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2671, allocations: 14.17 kB / 407.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.769e-05/0.2671, allocations: 16.3 kB / 407.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.2672, allocations: 102.6 kB / 407.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003916/0.2711, allocations: 0.5956 MB / 408.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.2716, allocations: 260.9 kB / 408.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.2716, allocations: 45.06 kB / 408.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.2717, allocations: 63 kB / 408.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.2727, allocations: 0.5726 MB / 409.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.2727, allocations: 6.281 kB / 409.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.2728, allocations: 20.75 kB / 409.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2728, allocations: 13.88 kB / 409.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2738, allocations: 0.6541 MB / 410.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.2766, allocations: 1.853 MB / 412 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2782, allocations: 0.6378 MB / 412.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.2787, allocations: 247.9 kB / 412.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.2787, allocations: 18.36 kB / 412.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.2788, allocations: 49.2 kB / 412.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.043e-06/0.2788, allocations: 0 / 412.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004394/0.2832, allocations: 1.758 MB / 414.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.2832, allocations: 58.66 kB / 414.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2834, allocations: 200.2 kB / 415 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.2835, allocations: 36.98 kB / 415 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2837, allocations: 241.8 kB / 415.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.2839, allocations: 231.9 kB / 415.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.2841, allocations: 116.5 kB / 415.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2842, allocations: 346.5 kB / 415.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.2847, allocations: 225.4 kB / 416.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.2853, allocations: 369.2 kB / 416.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2863, allocations: 0.6115 MB / 417.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2863, allocations: 9.094 kB / 417.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001685/0.288, allocations: 0.8139 MB / 417.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.288, allocations: 13.97 kB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.288, allocations: 4.312 kB / 417.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.2886, allocations: 178.2 kB / 418.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.2891, allocations: 130.9 kB / 418.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.2928, allocations: 3.396 MB / 421.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.2933, allocations: 34.56 kB / 421.7 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.2933, allocations: 24.22 kB / 421.7 MB, free: 9.059 MB / 334.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.0003003/0.2936, allocations: 185.4 kB / 421.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.2937, allocations: 35.28 kB / 421.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2956, allocations: 0.7985 MB / 422.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2956, allocations: 6.875 kB / 422.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.2956, allocations: 6.812 kB / 422.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2956, allocations: 3.984 kB / 422.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.2983, allocations: 1.509 MB / 424.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.2983, allocations: 1.062 kB / 424.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.2988, allocations: 108.5 kB / 424.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.2993, allocations: 171 kB / 424.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.2994, allocations: 13 kB / 424.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.303, allocations: 3.407 MB / 427.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.303, allocations: 64 / 427.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3052, allocations: 1.163 MB / 429.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.3053, allocations: 27.83 kB / 429.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.3053, allocations: 12 kB / 429.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.3057, allocations: 36.05 kB / 429.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3058, allocations: 52.48 kB / 429.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.3058, allocations: 20 kB / 429.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.306, allocations: 148.3 kB / 429.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.306, allocations: 0 / 429.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000679/0.3067, allocations: 159.9 kB / 429.5 MB, free: 1.992 MB / 334.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.002616/0.3093, allocations: 1.739 MB / 431.3 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.3112, allocations: 0.8891 MB / 432.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3112, allocations: 0 / 432.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.3123, allocations: 0.6033 MB / 432.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3128, allocations: 32 kB / 432.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.3202, allocations: 4.43 MB / 437.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3207, allocations: 0.8414 MB / 438.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.3209, allocations: 59.33 kB / 438.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.3212, allocations: 159.4 kB / 438.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.3212, allocations: 4 kB / 438.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.3614, allocations: 10.72 MB / 449 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.02, allocations: 16.88 kB / 449 MB, free: 14.13 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.34255243401276]