Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,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.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.2 kB / 18.4 MB, free: 4.652 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.001058/0.001058, allocations: 185.5 kB / 19.34 MB, free: 3.727 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.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001268/0.001268, allocations: 60.25 kB / 329.2 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07305/0.07433, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003585/0.07795, allocations: 2.691 MB / 378.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.07915, allocations: 0.7251 MB / 379.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.07931, allocations: 7.938 kB / 379.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.07948, allocations: 43.58 kB / 379.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.07968, allocations: 95.25 kB / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.07996, allocations: 95.8 kB / 379.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.08035, allocations: 350.5 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.08053, allocations: 92.69 kB / 380 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.08071, allocations: 127.5 kB / 380.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.0809, allocations: 159.3 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.08096, allocations: 32 kB / 380.3 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.08102, allocations: 28 kB / 380.3 MB, free: 76 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.08109, allocations: 63.75 kB / 380.4 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.143/0.2241, allocations: 139.5 kB / 380.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2245, allocations: 323.6 kB / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2245, allocations: 0.875 kB / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2245, allocations: 0 / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2245, allocations: 0 / 380.8 MB, free: 10.08 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.001067/0.2256, allocations: 0.6532 MB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2257, allocations: 8.938 kB / 381.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.2257, allocations: 33.05 kB / 381.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2261, allocations: 279.5 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.2261, allocations: 12.75 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.2261, allocations: 20.95 kB / 381.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005723/0.2267, allocations: 250.7 kB / 382 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2267, allocations: 5.719 kB / 382.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.2268, allocations: 5.562 kB / 382.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2268, allocations: 5.5 kB / 382.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.2275, allocations: 257.4 kB / 382.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.2288, allocations: 0.8567 MB / 383.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.2296, allocations: 230 kB / 383.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2299, allocations: 93.64 kB / 383.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2299, allocations: 3.031 kB / 383.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.2303, allocations: 177.2 kB / 383.7 MB, free: 8.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2303, allocations: 0.5 kB / 383.7 MB, free: 8.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001837/0.2322, allocations: 0.5923 MB / 384.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2322, allocations: 109.9 kB / 384.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.2324, allocations: 258.8 kB / 384.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2325, allocations: 31.58 kB / 384.6 MB, free: 8.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.2326, allocations: 181 kB / 384.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.2326, allocations: 47.02 kB / 384.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.2327, allocations: 43.7 kB / 384.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.2327, allocations: 342.2 kB / 385.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.233, allocations: 99.55 kB / 385.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.2334, allocations: 178.2 kB / 385.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.2339, allocations: 270.4 kB / 385.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2339, allocations: 5.406 kB / 385.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001009/0.235, allocations: 435.8 kB / 386.2 MB, free: 7.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.235, allocations: 33.84 kB / 386.2 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.235, allocations: 2.125 kB / 386.3 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.2355, allocations: 110.4 kB / 386.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2357, allocations: 46.28 kB / 386.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.2375, allocations: 1.928 MB / 388.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.2378, allocations: 46.64 kB / 388.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.2378, allocations: 11.44 kB / 388.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002955/0.2381, allocations: 179.8 kB / 388.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002668/0.2384, allocations: 157.8 kB / 388.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004712/0.2388, allocations: 246.3 kB / 389 MB, free: 5.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2389, allocations: 4 kB / 389 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007074/0.2396, allocations: 346.3 kB / 389.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2396, allocations: 41.22 kB / 389.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-06/0.2396, allocations: 2.781 kB / 389.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2397, allocations: 47.31 kB / 389.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2399, allocations: 40.33 kB / 389.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009062/0.2408, allocations: 1.723 MB / 391.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.2411, allocations: 48.17 kB / 391.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2412, allocations: 7.719 kB / 391.2 MB, free: 3.781 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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 7.653e-05/0.2413, allocations: 202.6 kB / 391.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2413, allocations: 23.28 kB / 391.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.2413, allocations: 26.61 kB / 391.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2414, allocations: 1.906 kB / 391.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2414, allocations: 3.938 kB / 391.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2414, allocations: 105.3 kB / 391.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.2415, allocations: 10.69 kB / 391.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.2417, allocations: 30.66 kB / 391.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.2418, allocations: 21.59 kB / 391.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001006/0.2428, allocations: 398.9 kB / 392 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008663/0.2437, allocations: 498.5 kB / 392.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002737/0.244, allocations: 90.31 kB / 392.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.2441, allocations: 189 kB / 392.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Backend: time 4.51e-07/0.2441, allocations: 0 / 392.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2455, allocations: 0.733 MB / 393.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of SimCode: time 0.000725/0.2462, allocations: 0.9234 MB / 394.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Templates: time 0.008355/0.2546, allocations: 4.79 MB / 399.2 MB, free: 0.8477 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches