Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.0009099/0.0009099, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0009658/0.0009658, 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.9154/0.9154, allocations: 177 MB / 204.1 MB, free: 5.742 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.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.246e-05, allocations: 3.266 kB / 324.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002808/0.00283, allocations: 2.717 MB / 327.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.003822, allocations: 0.6972 MB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.003958, allocations: 7.938 kB / 328 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.004097, allocations: 43.58 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.004256, allocations: 111.1 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.004492, allocations: 91.83 kB / 328.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.00481, allocations: 402.1 kB / 328.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.004984, allocations: 87.66 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.005297, allocations: 239.3 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.005438, allocations: 123.6 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.005477, allocations: 40 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.00551, allocations: 36 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.005561, allocations: 79.72 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.005654, allocations: 119.7 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.005976, allocations: 442.6 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.005979, allocations: 0 / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005981, allocations: 4 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.005986, allocations: 0 / 329.8 MB, free: 10.49 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008429/0.006829, allocations: 0.5779 MB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.006872, allocations: 15.92 kB / 330.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.006925, allocations: 62.72 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.006982, allocations: 40.7 kB / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.007318, allocations: 237.1 kB / 330.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.007335, allocations: 12.88 kB / 330.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.007372, allocations: 28.38 kB / 330.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.007767, allocations: 320 kB / 331 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.007777, allocations: 8.125 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.007799, allocations: 16.11 kB / 331.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007807, allocations: 12 kB / 331.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.008163, allocations: 249.8 kB / 331.3 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.009215, allocations: 0.9476 MB / 332.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.009639, allocations: 206.6 kB / 332.5 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.00978, allocations: 88.8 kB / 332.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.009801, allocations: 0 / 332.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.01008, allocations: 225.8 kB / 332.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 9.61e-07/0.01008, allocations: 0 / 332.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004844/0.01056, allocations: 288.1 kB / 333.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.01061, allocations: 106.8 kB / 333.2 MB, free: 6.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.0108, allocations: 273.7 kB / 333.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01082, allocations: 29.7 kB / 333.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.0109, allocations: 192.1 kB / 333.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.01093, allocations: 51.58 kB / 333.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.01099, allocations: 49.94 kB / 333.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.01108, allocations: 334.8 kB / 334.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.01124, allocations: 125.9 kB / 334.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.01144, allocations: 260.7 kB / 334.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.01174, allocations: 278.9 kB / 334.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01174, allocations: 3.938 kB / 334.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004133/0.01216, allocations: 371.4 kB / 335.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.01219, allocations: 37.69 kB / 335.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01219, allocations: 0 / 335.1 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01221, allocations: 4 kB / 335.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.01234, allocations: 64.2 kB / 335.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.01235, allocations: 4 kB / 335.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.01249, allocations: 47.75 kB / 335.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.0125, allocations: 16 kB / 335.3 MB, free: 4.586 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.01261, allocations: 153.7 kB / 335.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.01263, allocations: 27.8 kB / 335.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.01267, allocations: 25.78 kB / 335.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01267, allocations: 0 / 335.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.01268, allocations: 7.984 kB / 335.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01268, allocations: 0 / 335.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.01287, allocations: 260.5 kB / 335.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01287, allocations: 0 / 335.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01298, allocations: 35.97 kB / 335.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01298, allocations: 4 kB / 335.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01299, allocations: 0 / 335.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01299, allocations: 0 / 335.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01299, allocations: 4 kB / 335.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.01348, allocations: 348.6 kB / 336.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.01351, allocations: 23.83 kB / 336.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.01353, allocations: 11.94 kB / 336.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.01363, allocations: 32.02 kB / 336.2 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.01368, allocations: 19.97 kB / 336.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01369, allocations: 7.984 kB / 336.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.01381, allocations: 185.2 kB / 336.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01381, allocations: 0 / 336.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.01401, allocations: 67.89 kB / 336.4 MB, free: 3.324 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006727/0.01468, allocations: 0.8843 MB / 337.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.01507, allocations: 296.9 kB / 337.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01507, allocations: 4.062 kB / 337.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.01521, allocations: 91.88 kB / 337.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01544, allocations: 48.41 kB / 337.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.01838, allocations: 2.989 MB / 340.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.906e-05/0.01847, allocations: 146.9 kB / 340.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.135e-05/0.01856, allocations: 34.27 kB / 340.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01866, allocations: 88.47 kB / 341 MB, free: 14.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01867, allocations: 0 / 341 MB, free: 14.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.04168, allocations: 6.841 MB / 347.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.731, allocations: 11.92 kB / 347.9 MB, free: 7.805 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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: 8.414432275108993]