Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 110.6 kB / 18.4 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 186 kB / 19.34 MB, free: 3.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07282/0.07454, allocations: 46.62 MB / 375.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.00371/0.07829, allocations: 2.699 MB / 378.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.0794, allocations: 0.7212 MB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.07953, allocations: 4 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.07969, allocations: 43.58 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.07988, allocations: 95.19 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.08014, allocations: 83.89 kB / 379.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.08053, allocations: 362.4 kB / 379.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.08072, allocations: 88.7 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.08089, allocations: 139.4 kB / 380.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.08108, allocations: 151.3 kB / 380.2 MB, free: 168 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.08114, allocations: 28 kB / 380.3 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.08121, allocations: 32 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.08127, allocations: 55.83 kB / 380.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1448/0.2261, allocations: 147.5 kB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.2265, allocations: 324.9 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2266, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2266, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.2266, allocations: 2.688 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001179/0.2278, allocations: 0.6526 MB / 381.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2278, allocations: 8.25 kB / 381.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.2279, allocations: 31.88 kB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.2283, allocations: 272.7 kB / 381.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.2283, allocations: 15.81 kB / 381.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.2283, allocations: 22.92 kB / 381.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.2289, allocations: 246 kB / 382 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.229, allocations: 6.219 kB / 382 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.229, allocations: 14.06 kB / 382.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.229, allocations: 4.125 kB / 382.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007315/0.2297, allocations: 253.5 kB / 382.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.2312, allocations: 0.8592 MB / 383.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.2319, allocations: 228.7 kB / 383.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.2322, allocations: 97.03 kB / 383.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.2323, allocations: 1.875 kB / 383.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.2327, allocations: 177.6 kB / 383.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.2327, allocations: 0 / 383.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001899/0.2346, allocations: 0.588 MB / 384.3 MB, free: 8.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.2347, allocations: 109.3 kB / 384.4 MB, free: 8.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2349, allocations: 256.8 kB / 384.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.2349, allocations: 27.98 kB / 384.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.235, allocations: 175.5 kB / 384.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2351, allocations: 47.02 kB / 384.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.2351, allocations: 42.45 kB / 384.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.2352, allocations: 336.8 kB / 385.2 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.2355, allocations: 100.8 kB / 385.3 MB, free: 7.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.2358, allocations: 159.2 kB / 385.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.2364, allocations: 260.9 kB / 385.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2364, allocations: 0 / 385.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001035/0.2375, allocations: 416.1 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.2375, allocations: 37.59 kB / 386.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2375, allocations: 3.75 kB / 386.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.238, allocations: 109.1 kB / 386.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2382, allocations: 44.47 kB / 386.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2399, allocations: 1.885 MB / 388.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.2402, allocations: 50 kB / 388.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2402, allocations: 11.73 kB / 388.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003035/0.2405, allocations: 179 kB / 388.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002678/0.2408, allocations: 146.3 kB / 388.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000461/0.2413, allocations: 225.9 kB / 388.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2413, allocations: 1.031 kB / 388.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007079/0.242, allocations: 339.4 kB / 389.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.242, allocations: 36.19 kB / 389.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.242, allocations: 2.125 kB / 389.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/0.2422, allocations: 42.77 kB / 389.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2423, allocations: 41 kB / 389.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/0.2433, allocations: 1.72 MB / 391 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.2436, allocations: 39.38 kB / 391 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.2436, allocations: 10.81 kB / 391 MB, free: 3.902 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 8.438e-05/0.2437, allocations: 204 kB / 391.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.2438, allocations: 24.22 kB / 391.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.2438, allocations: 34.28 kB / 391.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2438, allocations: 1.453 kB / 391.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2438, allocations: 1.219 kB / 391.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.2439, allocations: 99.16 kB / 391.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2439, allocations: 6.734 kB / 391.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.2442, allocations: 29.12 kB / 391.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.2442, allocations: 26.5 kB / 391.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001025/0.2453, allocations: 392 kB / 391.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008699/0.2462, allocations: 491.4 kB / 392.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002726/0.2464, allocations: 89.91 kB / 392.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.2466, allocations: 185.2 kB / 392.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of Backend: time 3.61e-07/0.2466, allocations: 0 / 392.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.2478, allocations: 0.6844 MB / 393.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007972/0.2487, allocations: 0.9323 MB / 394.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of Templates: time 0.009939/0.2586, allocations: 4.815 MB / 399 MB, free: 0.9922 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches