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.001752/0.001752, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00202/0.00202, allocations: 204.1 kB / 23.72 MB, free: 4.391 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.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.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 0.002153/0.002153, allocations: 60.05 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2518, allocations: 53.42 MB / 431.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004259/0.2561, allocations: 2.71 MB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2574, allocations: 0.6857 MB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2576, allocations: 11.94 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.2577, allocations: 47.5 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.2579, allocations: 103.2 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2582, allocations: 99.84 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2587, allocations: 386.5 kB / 435.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2589, allocations: 85.34 kB / 435.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.2592, allocations: 163.4 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.2594, allocations: 143.2 kB / 435.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.2595, allocations: 40 kB / 435.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.2595, allocations: 40 kB / 435.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.2596, allocations: 79.69 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.2598, allocations: 139.4 kB / 435.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.2603, allocations: 438.2 kB / 436.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2603, allocations: 8 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2603, allocations: 0 / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2603, allocations: 0 / 436.3 MB, free: 1.402 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001228/0.2615, allocations: 0.5857 MB / 436.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2616, allocations: 11.98 kB / 436.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.507e-05/0.2616, allocations: 62.73 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.2617, allocations: 40.7 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.2622, allocations: 245.7 kB / 437.3 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2622, allocations: 16.86 kB / 437.3 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.289e-05/0.2623, allocations: 28.38 kB / 437.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.2629, allocations: 323.5 kB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2629, allocations: 4 kB / 437.6 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.263, allocations: 12 kB / 437.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.263, allocations: 8.047 kB / 437.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.2636, allocations: 245.8 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2654, allocations: 0.9428 MB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.2661, allocations: 206.6 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.2664, allocations: 92.8 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2664, allocations: 0 / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004691/0.2669, allocations: 217.3 kB / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.2669, allocations: 0 / 439.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008748/0.2678, allocations: 292.3 kB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.2678, allocations: 106.8 kB / 439.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.2681, allocations: 273.7 kB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2682, allocations: 29.7 kB / 440 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.2683, allocations: 196 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.2684, allocations: 51.62 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/0.2685, allocations: 49.94 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2686, allocations: 338.8 kB / 440.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.2689, allocations: 117.9 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.2693, allocations: 261.4 kB / 441 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.2699, allocations: 277.6 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2699, allocations: 0 / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007707/0.2706, allocations: 368.5 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.2707, allocations: 37.69 kB / 441.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2707, allocations: 0 / 441.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2707, allocations: 8.25 kB / 441.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.271, allocations: 67.83 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.271, allocations: 4 kB / 441.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.2713, allocations: 51.69 kB / 441.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.2713, allocations: 16 kB / 441.8 MB, free: 11.5 MB / 350.1 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.0001599/0.2714, allocations: 153.1 kB / 442 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.2715, allocations: 27.86 kB / 442 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.2715, allocations: 21.78 kB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2715, allocations: 3.984 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2716, allocations: 4 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2716, allocations: 3.938 kB / 442 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2718, allocations: 256.5 kB / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2718, allocations: 0 / 442.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.2721, allocations: 35.97 kB / 442.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2721, allocations: 4 kB / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2721, allocations: 4 kB / 442.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2721, allocations: 4 kB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2721, allocations: 7.922 kB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.273, allocations: 348.7 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.273, allocations: 19.89 kB / 442.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.2731, allocations: 4 kB / 442.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.2733, allocations: 36.02 kB / 442.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.2733, allocations: 19.91 kB / 442.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.2734, allocations: 4 kB / 442.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2735, allocations: 189.2 kB / 442.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2735, allocations: 0 / 442.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.2738, allocations: 67.89 kB / 443 MB, free: 10.24 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: 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.001196/0.275, allocations: 0.8768 MB / 443.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.2757, allocations: 297 kB / 444.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2757, allocations: 0 / 444.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.276, allocations: 91.88 kB / 444.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2763, allocations: 48.34 kB / 444.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.2813, allocations: 3.021 MB / 447.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2814, allocations: 146.9 kB / 447.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.2815, allocations: 30.28 kB / 447.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.2817, allocations: 87.34 kB / 447.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.282e-06/0.2817, allocations: 0 / 447.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.318, allocations: 6.714 MB / 454.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.35, allocations: 11.41 kB / 454.3 MB, free: 14.86 MB / 366.1 MB " [Timeout remaining time 649] (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/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_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: 13.67028531897813]