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.00144/0.00144, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001335/0.001335, allocations: 215.5 kB / 24.49 MB, free: 4.031 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.401/1.401, allocations: 207.6 MB / 235.3 MB, free: 10.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",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.001781/0.001781, allocations: 51.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3027, allocations: 49.17 MB / 396.4 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004685/0.3073, allocations: 3.775 MB / 400.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3099, allocations: 1.491 MB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.3101, allocations: 9.906 kB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.312, allocations: 0.7614 MB / 402.4 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.3131, allocations: 411.6 kB / 402.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3144, allocations: 0.5573 MB / 403.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008657/0.3152, allocations: 497.6 kB / 403.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008577/0.3161, allocations: 442.2 kB / 404.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.3165, allocations: 233.8 kB / 404.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.3169, allocations: 289.8 kB / 404.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.3169, allocations: 50.14 kB / 404.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.3175, allocations: 210 kB / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.3176, allocations: 113.3 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3178, allocations: 260.6 kB / 405.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3188, allocations: 0.7163 MB / 406.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3189, allocations: 1.828 kB / 406.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3189, allocations: 0 / 406.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3189, allocations: 0 / 406.1 MB, free: 3.227 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.002102/0.321, allocations: 0.8742 MB / 407 MB, free: 2.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.321, allocations: 13.77 kB / 407 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3212, allocations: 105.7 kB / 407.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/0.3254, allocations: 0.5883 MB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.3259, allocations: 260.4 kB / 407.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.326, allocations: 43.69 kB / 408 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3261, allocations: 67.64 kB / 408.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.3273, allocations: 0.5722 MB / 408.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3273, allocations: 5.594 kB / 408.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.3274, allocations: 24.92 kB / 408.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.3274, allocations: 14.84 kB / 408.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3287, allocations: 0.6521 MB / 409.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.3317, allocations: 1.82 MB / 411.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3333, allocations: 0.6351 MB / 411.8 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.3337, allocations: 232.4 kB / 412 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/0.3337, allocations: 22.5 kB / 412 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3338, allocations: 45.12 kB / 412.1 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 1.824e-06/0.3338, allocations: 0 / 412.1 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001863/0.3356, allocations: 0.6586 MB / 412.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3357, allocations: 65.06 kB / 412.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.336, allocations: 208.1 kB / 413 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.336, allocations: 35.89 kB / 413 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.3362, allocations: 249.4 kB / 413.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.3363, allocations: 171.9 kB / 413.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.3365, allocations: 93.19 kB / 413.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3367, allocations: 340.5 kB / 413.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.337, allocations: 159.4 kB / 414 MB, free: 14.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.3374, allocations: 280.1 kB / 414.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.3383, allocations: 484.7 kB / 414.8 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3383, allocations: 1.156 kB / 414.8 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001194/0.3395, allocations: 0.5839 MB / 415.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3395, allocations: 5.844 kB / 415.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3395, allocations: 5.344 kB / 415.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.3399, allocations: 75.25 kB / 415.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.3403, allocations: 121.8 kB / 415.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.3424, allocations: 1.673 MB / 417.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3427, allocations: 60.41 kB / 417.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3428, allocations: 20.75 kB / 417.3 MB, free: 12.04 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 (60): * Single equations (assignments): 59 * 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.0002488/0.343, allocations: 175.7 kB / 417.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.3431, allocations: 40.5 kB / 417.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3443, allocations: 0.5502 MB / 418.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3443, allocations: 5.375 kB / 418.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3443, allocations: 2.25 kB / 418.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3443, allocations: 3.984 kB / 418.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3464, allocations: 1.139 MB / 419.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3464, allocations: 1.094 kB / 419.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.3468, allocations: 79.59 kB / 419.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.347, allocations: 80.16 kB / 419.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.3471, allocations: 16.06 kB / 419.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.3489, allocations: 1.667 MB / 421.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3489, allocations: 3.984 kB / 421.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3503, allocations: 0.8137 MB / 421.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3503, allocations: 37.64 kB / 421.9 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.3503, allocations: 10.84 kB / 421.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.3506, allocations: 16.3 kB / 421.9 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.3507, allocations: 47.3 kB / 422 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.3507, allocations: 9.562 kB / 422 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3508, allocations: 147.2 kB / 422.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3508, allocations: 0 / 422.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.3514, allocations: 156 kB / 422.3 MB, free: 8.363 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 (46): * Single equations (assignments): 45 * 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.001845/0.3532, allocations: 1.398 MB / 423.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3544, allocations: 0.5725 MB / 424.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3544, allocations: 1.5 kB / 424.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.355, allocations: 361.9 kB / 424.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3553, allocations: 35.98 kB / 424.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.3607, allocations: 3.679 MB / 428.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.3612, allocations: 0.825 MB / 429.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.3614, allocations: 47.27 kB / 429.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.3616, allocations: 147.4 kB / 429.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3616, allocations: 3.938 kB / 429.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/0.413, allocations: 8.355 MB / 437.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 0.9375 kB / 437.7 MB, free: 9.301 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.40958836000209]