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.001386/0.001386, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001407/0.001407, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.373/1.373, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001853/0.001853, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.231, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004027/0.2351, allocations: 3.421 MB / 399.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2373, allocations: 1.387 MB / 401.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2375, allocations: 9.094 kB / 401.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.2392, allocations: 0.7017 MB / 401.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.2402, allocations: 400.2 kB / 402.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.2412, allocations: 0.5243 MB / 402.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.2416, allocations: 499.9 kB / 403.3 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.2422, allocations: 422.1 kB / 403.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2425, allocations: 236.8 kB / 403.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2428, allocations: 255.6 kB / 404.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.2429, allocations: 45.62 kB / 404.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.2433, allocations: 201.1 kB / 404.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.2433, allocations: 120.3 kB / 404.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2435, allocations: 207.1 kB / 404.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007929/0.2443, allocations: 0.7217 MB / 405.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2443, allocations: 1.375 kB / 405.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2443, allocations: 0 / 405.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2443, allocations: 0 / 405.4 MB, free: 3.438 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.001856/0.2461, allocations: 0.8826 MB / 406.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2462, allocations: 14.17 kB / 406.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2463, allocations: 101.1 kB / 406.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/0.2504, allocations: 0.5958 MB / 407 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.2508, allocations: 256.3 kB / 407.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.2509, allocations: 45.06 kB / 407.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.2509, allocations: 66.61 kB / 407.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009413/0.2519, allocations: 0.5898 MB / 408 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.2519, allocations: 1.656 kB / 408 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.252, allocations: 29.06 kB / 408 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.252, allocations: 13.97 kB / 408 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.253, allocations: 0.6371 MB / 408.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.2557, allocations: 1.684 MB / 410.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.2572, allocations: 0.6157 MB / 411 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.2576, allocations: 237 kB / 411.2 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.2577, allocations: 13.67 kB / 411.2 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2577, allocations: 50.28 kB / 411.3 MB, free: 368 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.003e-06/0.2577, allocations: 0 / 411.3 MB, free: 368 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001507/0.2592, allocations: 0.6671 MB / 411.9 MB, free: 20 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2593, allocations: 56 kB / 412 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.2595, allocations: 214.1 kB / 412.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.2596, allocations: 36.58 kB / 412.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2597, allocations: 247.1 kB / 412.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.2599, allocations: 174.6 kB / 412.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.26, allocations: 96.23 kB / 412.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2602, allocations: 344.3 kB / 413.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2605, allocations: 159.6 kB / 413.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.2609, allocations: 282.8 kB / 413.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.2617, allocations: 475.9 kB / 414 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2617, allocations: 1.188 kB / 414 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00112/0.2628, allocations: 0.5875 MB / 414.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2628, allocations: 6.781 kB / 414.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2628, allocations: 7.297 kB / 414.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.2632, allocations: 80.94 kB / 414.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.2636, allocations: 116.8 kB / 414.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.2655, allocations: 1.656 MB / 416.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2658, allocations: 57.27 kB / 416.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.2659, allocations: 20.81 kB / 416.5 MB, free: 12.39 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.0002065/0.2661, allocations: 179.8 kB / 416.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.2661, allocations: 28.38 kB / 416.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2672, allocations: 0.5434 MB / 417.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2673, allocations: 5.312 kB / 417.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2673, allocations: 5.438 kB / 417.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2673, allocations: 5.156 kB / 417.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2691, allocations: 1.086 MB / 418.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2691, allocations: 5.531 kB / 418.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.2694, allocations: 79.41 kB / 418.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.2697, allocations: 80.2 kB / 418.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.2697, allocations: 12.34 kB / 418.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.2715, allocations: 1.66 MB / 420.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2715, allocations: 1.375 kB / 420.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2729, allocations: 0.8142 MB / 421 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2729, allocations: 37.91 kB / 421 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.273, allocations: 7.438 kB / 421 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.2732, allocations: 25.08 kB / 421.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.2733, allocations: 37.39 kB / 421.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.2733, allocations: 15.56 kB / 421.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.2735, allocations: 146.8 kB / 421.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2735, allocations: 0 / 421.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005435/0.274, allocations: 157.2 kB / 421.4 MB, free: 8.785 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.001884/0.2759, allocations: 1.399 MB / 422.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.277, allocations: 0.5691 MB / 423.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.277, allocations: 4 kB / 423.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006241/0.2776, allocations: 357.2 kB / 423.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.278, allocations: 31.92 kB / 423.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.2835, allocations: 3.687 MB / 427.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2837, allocations: 213.8 kB / 427.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.2839, allocations: 59.25 kB / 427.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.2842, allocations: 135.4 kB / 427.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2842, allocations: 4 kB / 427.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.3251, allocations: 8.557 MB / 436.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.9, allocations: 7.938 kB / 436.4 MB, free: 10.04 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.196824884042144]