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.001267/0.001267, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001416/0.001416, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 7.785 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 379 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2812, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004338/0.2855, allocations: 2.711 MB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.287, allocations: 0.6896 MB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2871, allocations: 8 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2873, allocations: 47.5 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.2875, allocations: 103.2 kB / 436 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2878, allocations: 99.83 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.2883, allocations: 390.5 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.2885, allocations: 83.33 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.2888, allocations: 171.3 kB / 436.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.289, allocations: 139.2 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.289, allocations: 40 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2891, allocations: 44 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.2892, allocations: 75.69 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2893, allocations: 139.4 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.2898, allocations: 437.3 kB / 437.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.2898, allocations: 7.984 kB / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2898, allocations: 0 / 437.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2899, allocations: 0 / 437.6 MB, free: 1.336 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.001206/0.2911, allocations: 0.578 MB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2911, allocations: 11.98 kB / 438.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.2912, allocations: 36.7 kB / 438.2 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.2917, allocations: 241.8 kB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2917, allocations: 16.88 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.2917, allocations: 28.31 kB / 438.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.2924, allocations: 327.7 kB / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2924, allocations: 0 / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.2924, allocations: 12 kB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2925, allocations: 8 kB / 438.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.2932, allocations: 249.8 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.2949, allocations: 0.8965 MB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.2956, allocations: 218.5 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.2959, allocations: 88.8 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2959, allocations: 0 / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.2964, allocations: 221.3 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2964, allocations: 4 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009217/0.2973, allocations: 281.3 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.2974, allocations: 106.8 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.2977, allocations: 261 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.2977, allocations: 29.7 kB / 441.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2978, allocations: 204 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.2979, allocations: 47.62 kB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.298, allocations: 53.94 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2981, allocations: 330.8 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.2984, allocations: 121.9 kB / 441.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.2988, allocations: 253.4 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.2994, allocations: 285.6 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2994, allocations: 0 / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007889/0.3002, allocations: 364.9 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.3002, allocations: 37.64 kB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3002, allocations: 4 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3002, allocations: 4 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.3005, allocations: 59.95 kB / 442.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3005, allocations: 7.938 kB / 442.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3008, allocations: 51.75 kB / 442.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3008, allocations: 16.02 kB / 442.9 MB, free: 11.58 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.0001662/0.301, allocations: 153.3 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.301, allocations: 23.86 kB / 443.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.3011, allocations: 29.75 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3011, allocations: 4 kB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3011, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3011, allocations: 0 / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.3014, allocations: 221.1 kB / 443.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3014, allocations: 0 / 443.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.3016, allocations: 43.91 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3016, allocations: 0 / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3016, allocations: 8 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3016, allocations: 0 / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3016, allocations: 0 / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.3025, allocations: 347.8 kB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3025, allocations: 27.83 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3026, allocations: 7.938 kB / 443.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3028, allocations: 27.95 kB / 443.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.3029, allocations: 19.97 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3029, allocations: 4 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.3031, allocations: 184.5 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3031, allocations: 0 / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000318/0.3034, allocations: 67.84 kB / 444.1 MB, free: 10.38 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.0001528/0.3035, allocations: 107.2 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.3043, allocations: 293.3 kB / 444.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3043, allocations: 0 / 444.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3046, allocations: 95.94 kB / 444.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3049, allocations: 44.41 kB / 444.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3066, allocations: 0.6243 MB / 445.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3067, allocations: 146.9 kB / 445.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.3068, allocations: 27.38 kB / 445.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3068, allocations: 0 / 445.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Templates: time 0.006329/0.3132, allocations: 3.554 MB / 449 MB, free: 5.449 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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: 6.974115250166506]