Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001371/0.001371, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001606/0.001606, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 47.91 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.265, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005405/0.2704, allocations: 3.748 MB / 434.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.2732, allocations: 1.515 MB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2734, allocations: 8 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.2753, allocations: 0.7467 MB / 437.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.2763, allocations: 417 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.2775, allocations: 0.5519 MB / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.2781, allocations: 461.9 kB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.2789, allocations: 434.4 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2793, allocations: 227.1 kB / 439.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.2797, allocations: 267 kB / 439.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.2798, allocations: 44 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.2803, allocations: 223.8 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2804, allocations: 107.7 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.2806, allocations: 242.8 kB / 440.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009838/0.2816, allocations: 0.7043 MB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2816, allocations: 0 / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2816, allocations: 0 / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.2816, allocations: 0 / 440.8 MB, free: 13.2 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.002185/0.2838, allocations: 0.8486 MB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2839, allocations: 8.031 kB / 441.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.284, allocations: 104 kB / 441.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/0.2873, allocations: 472.2 kB / 442.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.2879, allocations: 253.8 kB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.2879, allocations: 37.69 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.288, allocations: 64.33 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.289, allocations: 0.5374 MB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.289, allocations: 3.984 kB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.2891, allocations: 24 kB / 443.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.2891, allocations: 12 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2902, allocations: 0.579 MB / 443.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.2933, allocations: 1.735 MB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.2947, allocations: 0.5541 MB / 446 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.2952, allocations: 230.1 kB / 446.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.2953, allocations: 24.41 kB / 446.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.2954, allocations: 50.92 kB / 446.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.2954, allocations: 0 / 446.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001869/0.2972, allocations: 0.6557 MB / 446.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.2973, allocations: 63.84 kB / 447 MB, free: 6.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.2975, allocations: 182.3 kB / 447.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.2976, allocations: 37.7 kB / 447.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2978, allocations: 225 kB / 447.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2979, allocations: 162.5 kB / 447.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.2981, allocations: 94.11 kB / 447.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2983, allocations: 338.8 kB / 448 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.2986, allocations: 156.9 kB / 448.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.299, allocations: 237.9 kB / 448.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.2997, allocations: 420.9 kB / 448.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2997, allocations: 0 / 448.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001087/0.3008, allocations: 0.5358 MB / 449.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3008, allocations: 8 kB / 449.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3008, allocations: 0 / 449.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.3012, allocations: 84.78 kB / 449.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3016, allocations: 99.81 kB / 449.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.3036, allocations: 1.674 MB / 451.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3039, allocations: 39.73 kB / 451.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.304, allocations: 19.98 kB / 451.3 MB, free: 2.293 MB / 350.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.0002385/0.3042, allocations: 171.3 kB / 451.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.3043, allocations: 27.86 kB / 451.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.3054, allocations: 0.5317 MB / 452 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3054, allocations: 8 kB / 452 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3054, allocations: 3.938 kB / 452 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3054, allocations: 3.984 kB / 452 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.3073, allocations: 1.112 MB / 453.1 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3073, allocations: 4 kB / 453.1 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.3077, allocations: 83.89 kB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.308, allocations: 80.84 kB / 453.3 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.308, allocations: 16 kB / 453.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.3099, allocations: 1.67 MB / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3099, allocations: 4.031 kB / 455 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3113, allocations: 0.7991 MB / 455.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3114, allocations: 35.75 kB / 455.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3114, allocations: 11.94 kB / 455.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3116, allocations: 20.05 kB / 455.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.3117, allocations: 40.31 kB / 455.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3118, allocations: 19.98 kB / 455.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.3119, allocations: 132.2 kB / 456 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 3.938 kB / 456 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.3125, allocations: 155.6 kB / 456.2 MB, free: 13.16 MB / 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.001929/0.3144, allocations: 1.383 MB / 457.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.3156, allocations: 0.5463 MB / 458.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3156, allocations: 4 kB / 458.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.3162, allocations: 345.7 kB / 458.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3165, allocations: 47.91 kB / 458.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.3218, allocations: 3.452 MB / 462 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.3223, allocations: 0.8045 MB / 462.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3225, allocations: 50.95 kB / 462.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.3227, allocations: 135.4 kB / 463 MB, free: 6.164 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3227, allocations: 0 / 463 MB, free: 6.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.3676, allocations: 8.101 MB / 471.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.37, allocations: 13.59 kB / 471.1 MB, free: 14.2 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.77883925801143]