Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001977/0.001977, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 55.91 kB / 378.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3121, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004051/0.3161, allocations: 2.552 MB / 434.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3173, allocations: 0.6427 MB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3175, allocations: 7.938 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.3176, allocations: 43.58 kB / 435.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.3178, allocations: 95.19 kB / 435.3 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.318, allocations: 79.83 kB / 435.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.3184, allocations: 338.5 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.3186, allocations: 77.98 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.3189, allocations: 139.5 kB / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3191, allocations: 151.2 kB / 436.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.3192, allocations: 28 kB / 436.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.3192, allocations: 28 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.3193, allocations: 63.77 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3194, allocations: 127.4 kB / 436.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.3198, allocations: 330.6 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3198, allocations: 3.984 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3198, allocations: 0 / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3199, allocations: 3.938 kB / 436.6 MB, free: 1.75 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009534/0.3208, allocations: 0.5015 MB / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3209, allocations: 12.03 kB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.563e-05/0.3209, allocations: 4.844 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.44e-05/0.321, allocations: 70.72 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.3211, allocations: 32.75 kB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.3215, allocations: 211.9 kB / 437.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3215, allocations: 17.03 kB / 437.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.3216, allocations: 28.38 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.3221, allocations: 344.8 kB / 437.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3221, allocations: 0 / 437.8 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.3222, allocations: 12 kB / 437.8 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3222, allocations: 4 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.3225, allocations: 186.5 kB / 438 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3241, allocations: 0.8405 MB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3245, allocations: 150.5 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.3248, allocations: 136.8 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3248, allocations: 0 / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3249, allocations: 38.56 kB / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.3249, allocations: 0 / 439.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001157/0.326, allocations: 373.1 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3261, allocations: 51.41 kB / 439.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3263, allocations: 236.9 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3263, allocations: 29.7 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3265, allocations: 180.2 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.3265, allocations: 67.42 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.3266, allocations: 53.66 kB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3267, allocations: 334.8 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3268, allocations: 55.98 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.327, allocations: 117.8 kB / 440.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3272, allocations: 178.5 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3272, allocations: 0 / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005659/0.3278, allocations: 294.2 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3278, allocations: 8 kB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3278, allocations: 0 / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.3282, allocations: 72.78 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.3284, allocations: 51.91 kB / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.3308, allocations: 1.806 MB / 443.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.331, allocations: 27.78 kB / 443.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.331, allocations: 12 kB / 443.1 MB, free: 10.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.3311, allocations: 141.3 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.3312, allocations: 23.86 kB / 443.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.3312, allocations: 30.11 kB / 443.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3312, allocations: 0 / 443.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3312, allocations: 4 kB / 443.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3313, allocations: 0 / 443.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.3322, allocations: 0.5684 MB / 443.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3322, allocations: 0 / 443.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3323, allocations: 31.92 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.3326, allocations: 76.78 kB / 444 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3326, allocations: 4 kB / 444 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.3349, allocations: 1.787 MB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3349, allocations: 0 / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.3355, allocations: 390.8 kB / 446.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3356, allocations: 23.81 kB / 446.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3356, allocations: 11.94 kB / 446.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3358, allocations: 20.11 kB / 446.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3359, allocations: 19.91 kB / 446.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3359, allocations: 8 kB / 446.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.336, allocations: 164.5 kB / 446.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 4 kB / 446.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.3365, allocations: 75.89 kB / 446.5 MB, free: 7.32 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: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009727/0.3375, allocations: 0.9239 MB / 447.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.338, allocations: 278.4 kB / 447.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.338, allocations: 7.938 kB / 447.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.3383, allocations: 209.5 kB / 447.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3387, allocations: 48.52 kB / 447.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.3424, allocations: 2.68 MB / 450.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3426, allocations: 150.9 kB / 450.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.813e-05/0.3427, allocations: 18.3 kB / 450.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.3428, allocations: 79.41 kB / 450.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3428, allocations: 0 / 450.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.3746, allocations: 6.064 MB / 456.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.05, allocations: 0 / 456.9 MB, free: 12.84 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --stepSize=1.001e-05 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.598100305069238]