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.001509/0.001509, allocations: 112 kB / 20.43 MB, free: 1.457 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.002001/0.002001, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 47.92 kB / 370.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 52.19 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004435/0.2575, allocations: 2.731 MB / 425.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2591, allocations: 0.6777 MB / 426.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2593, allocations: 7.938 kB / 426.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2595, allocations: 43.58 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.2598, allocations: 91.25 kB / 426.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2601, allocations: 91.81 kB / 426.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.2606, allocations: 338.5 kB / 426.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.2608, allocations: 77.98 kB / 426.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2611, allocations: 135.5 kB / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2613, allocations: 139.4 kB / 427 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.2614, allocations: 31.98 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.116e-05/0.2615, allocations: 28 kB / 427 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.2615, allocations: 63.77 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2617, allocations: 147.3 kB / 427.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.2621, allocations: 315.1 kB / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2622, allocations: 0 / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2622, allocations: 0 / 427.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.2622, allocations: 0 / 427.6 MB, free: 9.691 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.001203/0.2634, allocations: 0.5247 MB / 428.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2634, allocations: 15.97 kB / 428.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.2635, allocations: 62.72 kB / 428.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.251e-05/0.2636, allocations: 32.75 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.264, allocations: 198 kB / 428.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2641, allocations: 20.88 kB / 428.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.2641, allocations: 24.38 kB / 428.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.2647, allocations: 282.8 kB / 428.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2647, allocations: 0 / 428.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.2647, allocations: 12 kB / 428.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.2647, allocations: 4 kB / 428.7 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.2652, allocations: 205.9 kB / 428.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.267, allocations: 0.9647 MB / 429.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.2675, allocations: 178.5 kB / 430.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.2679, allocations: 148.7 kB / 430.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2679, allocations: 3.938 kB / 430.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.268, allocations: 42.55 kB / 430.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.268, allocations: 0 / 430.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001792/0.2698, allocations: 482.2 kB / 430.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2698, allocations: 59.39 kB / 430.8 MB, free: 6.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.2701, allocations: 232.8 kB / 431 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2701, allocations: 37.7 kB / 431 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2703, allocations: 180.2 kB / 431.2 MB, free: 5.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.2703, allocations: 67.42 kB / 431.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.2704, allocations: 45.7 kB / 431.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2706, allocations: 326.8 kB / 431.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2708, allocations: 71.95 kB / 431.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.271, allocations: 130.8 kB / 431.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.2714, allocations: 204.8 kB / 432 MB, free: 4.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.2714, allocations: 7.938 kB / 432 MB, free: 4.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000875/0.2723, allocations: 356.2 kB / 432.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2723, allocations: 7.125 kB / 432.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2723, allocations: 4 kB / 432.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.2727, allocations: 80.8 kB / 432.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.2729, allocations: 47.98 kB / 432.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.2759, allocations: 1.902 MB / 434.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.2761, allocations: 31.78 kB / 434.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.2762, allocations: 8 kB / 434.5 MB, free: 2.363 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.0001601/0.2763, allocations: 141.8 kB / 434.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.2764, allocations: 19.91 kB / 434.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.2765, allocations: 22.12 kB / 434.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2765, allocations: 4 kB / 434.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2765, allocations: 0 / 434.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2765, allocations: 3.984 kB / 434.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2777, allocations: 0.6306 MB / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2777, allocations: 0 / 435.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.2779, allocations: 36.03 kB / 435.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.2782, allocations: 80.91 kB / 435.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.2782, allocations: 4 kB / 435.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.2807, allocations: 1.813 MB / 437.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2807, allocations: 0 / 437.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009708/0.2817, allocations: 463.9 kB / 437.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.2817, allocations: 23.83 kB / 437.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.2818, allocations: 4.062 kB / 437.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.282, allocations: 23.98 kB / 437.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.282, allocations: 11.97 kB / 437.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.282, allocations: 15.81 kB / 437.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.2822, allocations: 168.5 kB / 437.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2822, allocations: 3.938 kB / 437.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.2827, allocations: 75.89 kB / 438 MB, free: 14.64 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.001348/0.284, allocations: 0.9853 MB / 439 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009426/0.2849, allocations: 370.4 kB / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2849, allocations: 0 / 439.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.2853, allocations: 198.6 kB / 439.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2857, allocations: 41.09 kB / 439.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.2914, allocations: 3.079 MB / 442.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.2918, allocations: 0.7519 MB / 443.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.2919, allocations: 17.95 kB / 443.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.292, allocations: 75.41 kB / 443.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.292, allocations: 0 / 443.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.3312, allocations: 5.627 MB / 449.1 MB, free: 3.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.83, allocations: 11.31 kB / 449.1 MB, free: 3.457 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: 15.190467631909996]