Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001235, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2313, allocations: 50.55 MB / 410 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003716/0.2351, allocations: 2.803 MB / 412.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2363, allocations: 0.6777 MB / 413.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2364, allocations: 4 kB / 413.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2366, allocations: 43.56 kB / 413.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.2368, allocations: 103.2 kB / 413.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.237, allocations: 83.83 kB / 413.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.2374, allocations: 382.5 kB / 414 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2376, allocations: 118.9 kB / 414.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2378, allocations: 143.5 kB / 414.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.238, allocations: 167.3 kB / 414.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.238, allocations: 36 kB / 414.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-05/0.2381, allocations: 36 kB / 414.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.2382, allocations: 71.75 kB / 414.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2383, allocations: 163.2 kB / 414.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.2387, allocations: 378.5 kB / 415.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2387, allocations: 0 / 415.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2387, allocations: 0 / 415.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2388, allocations: 3.938 kB / 415.1 MB, free: 12.59 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00117/0.2399, allocations: 0.6573 MB / 415.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.24, allocations: 8.031 kB / 415.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.24, allocations: 36.7 kB / 415.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2404, allocations: 280.8 kB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2404, allocations: 24.94 kB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2405, allocations: 24.38 kB / 416.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.2411, allocations: 295.7 kB / 416.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2411, allocations: 0 / 416.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2412, allocations: 12 kB / 416.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2412, allocations: 4 kB / 416.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.2419, allocations: 261.5 kB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.2436, allocations: 1.082 MB / 417.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.2444, allocations: 214.5 kB / 418 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.2447, allocations: 92.8 kB / 418.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2447, allocations: 11.97 kB / 418.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.2452, allocations: 169.8 kB / 418.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.2452, allocations: 0 / 418.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002008/0.2472, allocations: 0.5068 MB / 418.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.2473, allocations: 114.8 kB / 418.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.2476, allocations: 286.6 kB / 419.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2476, allocations: 25.7 kB / 419.2 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2477, allocations: 204 kB / 419.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2478, allocations: 35.69 kB / 419.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.2479, allocations: 57.89 kB / 419.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.248, allocations: 330.8 kB / 419.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.2483, allocations: 96.16 kB / 419.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.2487, allocations: 202.1 kB / 420.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.2494, allocations: 305.4 kB / 420.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2494, allocations: 4 kB / 420.4 MB, free: 6.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001125/0.2505, allocations: 427.8 kB / 420.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.2506, allocations: 33.7 kB / 420.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2506, allocations: 4 kB / 420.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2509, allocations: 80.83 kB / 420.9 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.2512, allocations: 43.91 kB / 421 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.2534, allocations: 1.712 MB / 422.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.2538, allocations: 59.75 kB / 422.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.2538, allocations: 12 kB / 422.8 MB, free: 4.367 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0001414/0.254, allocations: 152.5 kB / 422.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.254, allocations: 27.81 kB / 422.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.2541, allocations: 29.7 kB / 423 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2541, allocations: 3.938 kB / 423 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2541, allocations: 0 / 423 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2542, allocations: 112.9 kB / 423.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2542, allocations: 4 kB / 423.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.2545, allocations: 27.91 kB / 423.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.2546, allocations: 27.97 kB / 423.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001249/0.2558, allocations: 369.4 kB / 423.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009848/0.2568, allocations: 490.8 kB / 424 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002969/0.2571, allocations: 83.97 kB / 424.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.2573, allocations: 206 kB / 424.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2574, allocations: 0 / 424.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009764/0.2583, allocations: 420.6 kB / 424.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008998/0.2592, allocations: 0.9394 MB / 425.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of Templates: time 0.007926/0.2672, allocations: 4.161 MB / 429.8 MB, free: 13.25 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches