Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 179.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.234/1.234, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000733/0.0007329, allocations: 95.92 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002775, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 47.56 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.003291/0.1928, allocations: 4.461 MB / 379 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006778/0.1996, allocations: 7.889 MB / 386.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.2003, allocations: 20.12 kB / 386.9 MB, free: 35.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000808/0.2011, allocations: 292.9 kB / 387.2 MB, free: 35.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2028, allocations: 0.6433 MB / 387.8 MB, free: 34.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009736/0.2038, allocations: 430 kB / 388.3 MB, free: 34.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2056, allocations: 1.561 MB / 389.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.2058, allocations: 143 kB / 390 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.206, allocations: 242.8 kB / 390.2 MB, free: 33.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2063, allocations: 294.2 kB / 390.5 MB, free: 32.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.2063, allocations: 16 kB / 390.5 MB, free: 32.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008999/0.2072, allocations: 0.5074 MB / 391 MB, free: 32.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.2073, allocations: 83.44 kB / 391.1 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.2074, allocations: 201.2 kB / 391.3 MB, free: 32.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.208, allocations: 0.853 MB / 392.1 MB, free: 31.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.208, allocations: 0 / 392.1 MB, free: 31.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.208, allocations: 0 / 392.1 MB, free: 31.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.208, allocations: 0 / 392.1 MB, free: 31.19 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001279/0.2093, allocations: 1.155 MB / 393.3 MB, free: 29.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2093, allocations: 12.03 kB / 393.3 MB, free: 29.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.82e-05/0.2094, allocations: 114.7 kB / 393.4 MB, free: 29.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.2103, allocations: 0.809 MB / 394.2 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2104, allocations: 16.56 kB / 394.2 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2104, allocations: 27.94 kB / 394.3 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.2108, allocations: 311.7 kB / 394.6 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2109, allocations: 0 / 394.6 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2109, allocations: 8 kB / 394.6 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2109, allocations: 15.98 kB / 394.6 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.2113, allocations: 234.1 kB / 394.8 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.2126, allocations: 1.187 MB / 396 MB, free: 27.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.2129, allocations: 201 kB / 396.2 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2132, allocations: 233.2 kB / 396.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005822/0.219, allocations: 8.589 MB / 405 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2191, allocations: 30.56 kB / 405.1 MB, free: 16.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.526e-06/0.2191, allocations: 0 / 405.1 MB, free: 16.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.001436/0.2205, allocations: 0.6621 MB / 405.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2206, allocations: 85.11 kB / 405.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.2212, allocations: 0.7909 MB / 406.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2213, allocations: 29.7 kB / 406.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.2215, allocations: 440.7 kB / 407.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.2216, allocations: 82.81 kB / 407.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.2216, allocations: 0 / 407.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.2217, allocations: 325.9 kB / 407.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2218, allocations: 68.47 kB / 407.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2219, allocations: 153.8 kB / 407.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.2221, allocations: 88.56 kB / 407.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2221, allocations: 0 / 407.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004727/0.2226, allocations: 408.9 kB / 408.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2226, allocations: 8 kB / 408.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.2226, allocations: 12 kB / 408.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.223, allocations: 157.8 kB / 408.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2231, allocations: 39.91 kB / 408.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004361/0.2236, allocations: 0.7024 MB / 409.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2238, allocations: 31.69 kB / 409.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.2239, allocations: 16.06 kB / 409.1 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.224, allocations: 201.7 kB / 409.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.2241, allocations: 102.8 kB / 409.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.2248, allocations: 415.4 kB / 409.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.2249, allocations: 4 kB / 409.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2249, allocations: 0 / 409.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2249, allocations: 0 / 409.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.2253, allocations: 0.5073 MB / 410.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.2253, allocations: 12 kB / 410.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2254, allocations: 15.98 kB / 410.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.2257, allocations: 140.7 kB / 410.5 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2257, allocations: 8 kB / 410.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003886/0.2261, allocations: 0.7069 MB / 411.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2261, allocations: 0 / 411.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.2265, allocations: 448.2 kB / 411.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.2267, allocations: 179.8 kB / 411.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.2268, allocations: 7.938 kB / 411.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.227, allocations: 12.06 kB / 411.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.227, allocations: 15.97 kB / 411.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.2271, allocations: 12 kB / 411.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004413/0.2275, allocations: 0.5266 MB / 412.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2275, allocations: 3.938 kB / 412.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.228, allocations: 199.8 kB / 412.6 MB, free: 8.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003365/0.2284, allocations: 267.5 kB / 412.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.2289, allocations: 293.2 kB / 413.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2289, allocations: 0 / 413.1 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.2291, allocations: 179.3 kB / 413.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2296, allocations: 132.9 kB / 413.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2311, allocations: 1.429 MB / 414.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.2313, allocations: 0.9413 MB / 415.8 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.2314, allocations: 51.44 kB / 415.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2314, allocations: 0 / 415.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of Templates: time 0.01499/0.2464, allocations: 14.27 MB / 430.1 MB, free: 7.191 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CascodeCircuit/CascodeCircuit.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches