Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108.6 kB / 21.22 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 187.7 kB / 24.5 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 253.3 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 371.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2527, allocations: 52.18 MB / 423.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00414/0.2568, allocations: 2.723 MB / 426.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2581, allocations: 0.6816 MB / 426.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2582, allocations: 7.938 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2584, allocations: 47.56 kB / 426.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.2586, allocations: 91.25 kB / 427 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.2588, allocations: 91.81 kB / 427.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.2592, allocations: 338.5 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2594, allocations: 81.98 kB / 427.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.2596, allocations: 131.5 kB / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.2598, allocations: 139.4 kB / 427.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.2598, allocations: 28 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.2599, allocations: 32 kB / 427.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.2599, allocations: 67.75 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2601, allocations: 143.3 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.2604, allocations: 315.1 kB / 428.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2605, allocations: 0 / 428.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2605, allocations: 0 / 428.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.2605, allocations: 0 / 428.3 MB, free: 9.723 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009706/0.2614, allocations: 0.5247 MB / 428.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2615, allocations: 12.03 kB / 428.9 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.2615, allocations: 4.688 kB / 428.9 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/0.2616, allocations: 66.72 kB / 428.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.2616, allocations: 36.75 kB / 429 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.262, allocations: 206 kB / 429.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.262, allocations: 16.88 kB / 429.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2621, allocations: 24.38 kB / 429.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2626, allocations: 278.6 kB / 429.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2626, allocations: 4 kB / 429.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2626, allocations: 11.98 kB / 429.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2626, allocations: 8 kB / 429.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.2631, allocations: 197.9 kB / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2646, allocations: 0.9764 MB / 430.7 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.2651, allocations: 162.6 kB / 430.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.2655, allocations: 148.7 kB / 431 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2655, allocations: 7.938 kB / 431 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2655, allocations: 38.55 kB / 431 MB, free: 6.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2655, allocations: 0 / 431 MB, free: 6.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001728/0.2673, allocations: 493.5 kB / 431.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2673, allocations: 55.34 kB / 431.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.2676, allocations: 240.8 kB / 431.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2676, allocations: 25.7 kB / 431.8 MB, free: 6.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2677, allocations: 180.2 kB / 432 MB, free: 5.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.2678, allocations: 71.41 kB / 432.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.2678, allocations: 41.72 kB / 432.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.268, allocations: 330.8 kB / 432.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.2682, allocations: 75.95 kB / 432.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.2684, allocations: 126.8 kB / 432.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.2688, allocations: 212.3 kB / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2688, allocations: 0 / 432.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008616/0.2696, allocations: 355.7 kB / 433.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2697, allocations: 4 kB / 433.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2697, allocations: 0 / 433.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.27, allocations: 84.8 kB / 433.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2702, allocations: 47.98 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.2732, allocations: 1.902 MB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.2734, allocations: 35.88 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.2734, allocations: 12 kB / 435.3 MB, free: 2.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.2735, allocations: 137.8 kB / 435.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.2736, allocations: 15.91 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.2736, allocations: 30.12 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2736, allocations: 3.938 kB / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2736, allocations: 0 / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2736, allocations: 3.984 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.2748, allocations: 0.6307 MB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2748, allocations: 4 kB / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2749, allocations: 27.98 kB / 436.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.2752, allocations: 76.8 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2752, allocations: 4 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.2777, allocations: 1.817 MB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2777, allocations: 0 / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.2786, allocations: 463.9 kB / 438.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.2787, allocations: 27.83 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2787, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2789, allocations: 19.98 kB / 438.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.2789, allocations: 19.84 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2789, allocations: 11.94 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.2791, allocations: 176.5 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2791, allocations: 0 / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.2795, allocations: 75.89 kB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.2808, allocations: 0.9868 MB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009337/0.2817, allocations: 376.9 kB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2817, allocations: 0 / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.282, allocations: 198.9 kB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2824, allocations: 32.66 kB / 440.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.288, allocations: 3.069 MB / 443.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.2884, allocations: 0.7558 MB / 444.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.802e-05/0.2885, allocations: 17.94 kB / 444.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2886, allocations: 75.41 kB / 444.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2886, allocations: 4 kB / 444.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.3263, allocations: 5.661 MB / 450 MB, free: 3.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.5, allocations: 7.562 kB / 450 MB, free: 3.461 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.836443339998368]