Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 51.92 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 53.33 MB / 426.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004846/0.1139, allocations: 2.88 MB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1157, allocations: 0.7596 MB / 430 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.116, allocations: 7.938 kB / 430 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1162, allocations: 47.56 kB / 430 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1166, allocations: 107.2 kB / 430.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1169, allocations: 111.8 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.1175, allocations: 390.5 kB / 430.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.1177, allocations: 95.19 kB / 430.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.1181, allocations: 159.4 kB / 430.9 MB, free: 164 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1183, allocations: 163.3 kB / 431.1 MB, free: 0 / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1999/0.3182, allocations: 36.3 kB / 431.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3183, allocations: 38.56 kB / 431.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.3184, allocations: 74.36 kB / 431.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3185, allocations: 162.7 kB / 431.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.319, allocations: 431.4 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.319, allocations: 0 / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.319, allocations: 3.594 kB / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3191, allocations: 0 / 431.8 MB, free: 7.941 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001169/0.3202, allocations: 0.6618 MB / 432.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3203, allocations: 11.47 kB / 432.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/0.3203, allocations: 61.61 kB / 432.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.3204, allocations: 37.17 kB / 432.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3207, allocations: 287.6 kB / 432.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.3208, allocations: 20.59 kB / 432.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.3208, allocations: 22.69 kB / 432.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.3215, allocations: 319.9 kB / 433.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3215, allocations: 0 / 433.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3215, allocations: 9.594 kB / 433.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3215, allocations: 5.844 kB / 433.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.3222, allocations: 278.4 kB / 433.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3238, allocations: 1.118 MB / 434.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009147/0.3247, allocations: 237.1 kB / 434.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.325, allocations: 99.33 kB / 434.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.325, allocations: 5.094 kB / 434.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.3255, allocations: 170.8 kB / 435.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3255, allocations: 1.125 kB / 435.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00108/0.3266, allocations: 310.1 kB / 435.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3266, allocations: 88.83 kB / 435.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.327, allocations: 265 kB / 435.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.327, allocations: 27.17 kB / 435.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3271, allocations: 196.6 kB / 436 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3271, allocations: 43.06 kB / 436 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.3272, allocations: 50.61 kB / 436.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.3273, allocations: 334 kB / 436.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.3276, allocations: 106.4 kB / 436.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.328, allocations: 191.3 kB / 436.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.3287, allocations: 299.3 kB / 437 MB, free: 5.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3287, allocations: 3.094 kB / 437 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008751/0.3295, allocations: 366.4 kB / 437.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.3296, allocations: 34 kB / 437.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.3296, allocations: 2.5 kB / 437.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3296, allocations: 9.156 kB / 437.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.33, allocations: 68.19 kB / 437.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.33, allocations: 4.016 kB / 437.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.3304, allocations: 55.27 kB / 437.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3305, allocations: 10.23 kB / 437.5 MB, free: 5.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (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 (26): * Single equations (assignments): 25 * 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.0001357/0.3306, allocations: 150.5 kB / 437.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.3306, allocations: 26.58 kB / 437.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.834e-05/0.3307, allocations: 24.59 kB / 437.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3307, allocations: 2.641 kB / 437.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3307, allocations: 0 / 437.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3307, allocations: 6.531 kB / 437.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.331, allocations: 307.5 kB / 438 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.331, allocations: 2.312 kB / 438 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.3313, allocations: 50.59 kB / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3313, allocations: 1.562 kB / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3313, allocations: 6.562 kB / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3313, allocations: 0 / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3313, allocations: 1.094 kB / 438.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.3323, allocations: 372 kB / 438.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.3324, allocations: 97.42 kB / 438.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.3324, allocations: 11.25 kB / 438.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3327, allocations: 32.22 kB / 438.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.3328, allocations: 15.12 kB / 438.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3328, allocations: 7.812 kB / 438.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3329, allocations: 189.2 kB / 438.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3329, allocations: 0 / 438.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.3333, allocations: 69.14 kB / 438.8 MB, free: 4.691 MB / 350.1 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001233/0.3345, allocations: 0.9033 MB / 439.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008782/0.3354, allocations: 294.2 kB / 440 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3354, allocations: 0 / 440 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.3359, allocations: 94.89 kB / 440.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3363, allocations: 54.45 kB / 440.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.3417, allocations: 2.9 MB / 443.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.342, allocations: 0.7503 MB / 443.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3421, allocations: 28.11 kB / 443.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3422, allocations: 81.02 kB / 443.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3422, allocations: 0 / 443.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.3736, allocations: 5.569 MB / 449.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.344, allocations: 13.02 kB / 449.5 MB, free: 0.6055 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 10.668731551850215]