Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.0007958/0.0007958, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009024/0.0009024, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.904/0.904, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.989e-05, allocations: 2.281 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003063/0.003083, allocations: 2.764 MB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004179, allocations: 0.7167 MB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.004322, allocations: 11.94 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.004461, allocations: 51.5 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.004638, allocations: 119 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.004917, allocations: 91.89 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.005267, allocations: 433.9 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.00543, allocations: 83.67 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.005626, allocations: 231.5 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.005759, allocations: 139.6 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.0058, allocations: 40 kB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.005836, allocations: 40 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.005889, allocations: 83.67 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.005984, allocations: 119.7 kB / 329.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.006345, allocations: 486.4 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006347, allocations: 0 / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.006348, allocations: 0 / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.006354, allocations: 0 / 329.9 MB, free: 10.44 MB / 298.7 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.0008376/0.007192, allocations: 0.5975 MB / 330.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.007231, allocations: 11.98 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.007281, allocations: 62.72 kB / 330.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.007334, allocations: 40.69 kB / 330.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.007642, allocations: 249.2 kB / 330.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007662, allocations: 21.03 kB / 330.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.007687, allocations: 24.38 kB / 330.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.00809, allocations: 359.7 kB / 331.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.0081, allocations: 4.125 kB / 331.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.008121, allocations: 16.12 kB / 331.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008127, allocations: 4 kB / 331.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.008488, allocations: 266.5 kB / 331.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.009581, allocations: 0.9718 MB / 332.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.009952, allocations: 206.6 kB / 332.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.01009, allocations: 97.62 kB / 332.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01011, allocations: 0 / 332.8 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.01039, allocations: 262.7 kB / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.01039, allocations: 0 / 333.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008985/0.01129, allocations: 454.1 kB / 333.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.01134, allocations: 136.5 kB / 333.7 MB, free: 6.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.01155, allocations: 289.8 kB / 334 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01157, allocations: 33.7 kB / 334 MB, free: 6.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.01167, allocations: 200 kB / 334.2 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.0117, allocations: 55.59 kB / 334.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.01176, allocations: 53.7 kB / 334.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.01186, allocations: 330.8 kB / 334.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.01202, allocations: 125.6 kB / 334.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.01224, allocations: 315.5 kB / 335 MB, free: 4.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.01256, allocations: 295.8 kB / 335.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01256, allocations: 0 / 335.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005484/0.01311, allocations: 456.6 kB / 335.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.01314, allocations: 37.69 kB / 335.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01315, allocations: 0 / 335.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.01337, allocations: 76.8 kB / 335.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01348, allocations: 55.92 kB / 335.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.01496, allocations: 1.861 MB / 337.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.01514, allocations: 55.8 kB / 337.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01515, allocations: 19.94 kB / 337.9 MB, free: 1.926 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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.000104/0.01526, allocations: 153.8 kB / 338 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01528, allocations: 23.86 kB / 338.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.01531, allocations: 30.11 kB / 338.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01532, allocations: 4.031 kB / 338.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.01532, allocations: 0 / 338.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01532, allocations: 7.984 kB / 338.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.01552, allocations: 268.5 kB / 338.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01552, allocations: 0 / 338.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.01559, allocations: 23.97 kB / 338.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.01576, allocations: 76.8 kB / 338.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01577, allocations: 0 / 338.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.01704, allocations: 1.853 MB / 340.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01705, allocations: 0 / 340.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.01749, allocations: 313.6 kB / 340.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.01752, allocations: 31.8 kB / 340.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01754, allocations: 7.938 kB / 340.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01765, allocations: 31.91 kB / 340.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.01772, allocations: 23.95 kB / 340.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.01773, allocations: 8 kB / 340.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.01787, allocations: 205.2 kB / 340.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01787, allocations: 0 / 340.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000264/0.01814, allocations: 79.89 kB / 341 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006174/0.01875, allocations: 0.8498 MB / 341.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000534/0.01929, allocations: 444 kB / 342.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01929, allocations: 128 / 342.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.01954, allocations: 238.5 kB / 342.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.0198, allocations: 48.41 kB / 342.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.02322, allocations: 3.23 MB / 345.8 MB, free: 9.547 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.02332, allocations: 159.7 kB / 345.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.244e-05/0.0234, allocations: 34.95 kB / 346 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.02349, allocations: 88.47 kB / 346.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02349, allocations: 0 / 346.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.04787, allocations: 8.078 MB / 354.1 MB, free: 1.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.717, allocations: 3.594 kB / 354.1 MB, free: 1.34 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 9.40011371858418]